Explorar o código

HPCC-18885 Fix uninitialised member in InMemoryRowCursor

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday %!s(int64=7) %!d(string=hai) anos
pai
achega
56a4f524b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 };