Index: trunk/ippTools/src/dettool.c
===================================================================
--- trunk/ippTools/src/dettool.c	(revision 7351)
+++ trunk/ippTools/src/dettool.c	(revision 7352)
@@ -24,4 +24,5 @@
 static bool normalizedframeMode(pxConfig *config);
 static bool addresidMode(pxConfig *config);
+static bool residMode(pxConfig *config);
 
 static detInputExpRow *rawDetrenTodetInputExpRow(rawDetrendExpRow *rawExp, psS32 det_id);
@@ -95,4 +96,9 @@
         case DETTOOL_MODE_ADDRESID:
             if (addresidMode(config)) {
+                goto FAIL;
+            }
+            break;
+        case DETTOOL_MODE_RESID:
+            if (residMode(config)) {
                 goto FAIL;
             }
@@ -1449,2 +1455,8 @@
     return true;
 }
+
+static bool residMode(pxConfig *config)
+{
+    PS_ASSERT_PTR_NON_NULL(config, false);
+    return true;
+}
