Index: trunk/ippTools/src/dettool.c
===================================================================
--- trunk/ippTools/src/dettool.c	(revision 7353)
+++ trunk/ippTools/src/dettool.c	(revision 7363)
@@ -25,4 +25,5 @@
 static bool addresidMode(pxConfig *config);
 static bool residMode(pxConfig *config);
+static bool addresidexpMode(pxConfig *config);
 
 static detInputExpRow *rawDetrenTodetInputExpRow(rawDetrendExpRow *rawExp, psS32 det_id);
@@ -101,4 +102,9 @@
         case DETTOOL_MODE_RESID:
             if (residMode(config)) {
+                goto FAIL;
+            }
+            break;
+        case DETTOOL_MODE_ADDRESIDEXP:
+            if (addresidexpMode(config)) {
                 goto FAIL;
             }
@@ -1495,2 +1501,8 @@
     return true;
 }
+
+static bool addresidexpMode(pxConfig *config)
+{
+    PS_ASSERT_PTR_NON_NULL(config, false);
+    return true;
+}
