Преглед на файлове

* more false positives of unintialized varibles worked around

florian преди 3 години
родител
ревизия
366aedc6d8
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      rtl/inc/sstrings.inc

+ 3 - 0
rtl/inc/sstrings.inc

@@ -1167,6 +1167,9 @@ begin
   Temp:=0;
   Code:=InitVal(s,negative,base);
 
+  { avoid error about being uninitialized }
+  UnsignedUpperLimit := 0;
+
   if (base=10) or negative then
     begin //always limit to either Low(DestType) or High(DestType)
       case DestSize of