Index: trunk/ippTools/src/dettool.c
===================================================================
--- trunk/ippTools/src/dettool.c	(revision 7367)
+++ trunk/ippTools/src/dettool.c	(revision 7369)
@@ -26,4 +26,5 @@
 static bool residMode(pxConfig *config);
 static bool addresidexpMode(pxConfig *config);
+static bool residexpMode(pxConfig *config);
 
 static detInputExpRow *rawDetrenTodetInputExpRow(rawDetrendExpRow *rawExp, psS32 det_id);
@@ -107,4 +108,9 @@
         case DETTOOL_MODE_ADDRESIDEXP:
             if (addresidexpMode(config)) {
+                goto FAIL;
+            }
+            break;
+        case DETTOOL_MODE_RESIDEXP:
+            if (residexpMode(config)) {
                 goto FAIL;
             }
@@ -1598,2 +1604,8 @@
     return true;
 }
+
+static bool residexpMode(pxConfig *config)
+{
+    PS_ASSERT_PTR_NON_NULL(config, false);
+    return true;
+}
