Przeglądaj źródła

HPCC-18885 Fix uninitialised member in InMemoryRowCursor

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 7 lat temu
rodzic
commit
56a4f524b6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      rtl/eclrtl/rtlnewkey.cpp

+ 1 - 1
rtl/eclrtl/rtlnewkey.cpp

@@ -1451,7 +1451,7 @@ public:
     }
 
 protected:
-    size_t cur;
+    size_t cur = 0;
     InMemoryRows & source;
     RtlDynRow seekRow;
 };