Index: trunk/ippTools/src/magicdstool.c
===================================================================
--- trunk/ippTools/src/magicdstool.c	(revision 20841)
+++ trunk/ippTools/src/magicdstool.c	(revision 20847)
@@ -345,5 +345,5 @@
     PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false);
 
-    psS64 stage_id, cam_id;
+    psS64 stage_id = 0, cam_id = 0;
 
     if (!magicDSGetIDs(config, stage, magic_id, &stage_id, &cam_id)) {
@@ -539,6 +539,6 @@
         *cam_id = 0;
         return true;
-    } 
-    
+    }
+
     int stageNum;
     if (!strcmp(stage, "raw")) {
@@ -578,5 +578,5 @@
     }
     if (psArrayLength(output) > 1) {
-        psError(PS_ERR_UNKNOWN, true, "unexpected number of rows found %ld for magic_id %ld", 
+        psError(PS_ERR_UNKNOWN, true, "unexpected number of rows found %ld for magic_id %ld",
             psArrayLength(output), magic_id);
         return false;
