CkHashtable: quiet uninitialized variable warning
authorPhil Miller <mille121@illinois.edu>
Wed, 28 Aug 2013 04:11:23 +0000 (23:11 -0500)
committerPhil Miller <mille121@illinois.edu>
Wed, 28 Aug 2013 04:11:23 +0000 (23:11 -0500)
src/util/ckhashtable.h

index 1027581e20ca5561ba1e97a1b2a35221bf174675..744b4e3ff8bc29fd7da621cf3200bb039da59edd 100644 (file)
@@ -425,7 +425,7 @@ public:
                        delete it;
                }else{
                /*Unpacking phase: add each hashtable item*/
-                       int hasNext;
+                       int hasNext=1;
                        p|hasNext;
                        while (hasNext) {
                                OBJ o; KEY k;