Index: /trunk/ippTools/src/dettoolConfig.c
===================================================================
--- /trunk/ippTools/src/dettoolConfig.c	(revision 7818)
+++ /trunk/ippTools/src/dettoolConfig.c	(revision 7819)
@@ -272,4 +272,6 @@
 
 #define PXTOOL_MODE(option, modeval, argset) \
+{ \
+    int N = 0; \
     if ((N = psArgumentGet (argc, argv, option))) { \
         psArgumentRemove (N, &argc, argv); \
@@ -279,5 +281,6 @@
         config->mode = modeval; \
         config->args = psMemIncrRefCounter(argset); \
-    }
+    } \
+}
 
     // find which mode we're running under
@@ -305,5 +308,5 @@
     PXTOOL_MODE("-rerun",           DETTOOL_MODE_RERUN,         rerunArgs);
 
-bool argErr = false;
+    bool argErr = false;
     if (config->mode == DETTOOL_MODE_NONE) {
         argErr = true;
