Browse Source

HPCC-23050 Fix comparing unsigned < 0

Signed-off-by: Shamser Ahmed <shamser.ahmed@lexisnexis.co.uk>
Shamser Ahmed 5 năm trước cách đây
mục cha
commit
904c7feb3b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      common/wuanalysis/anacommon.cpp

+ 1 - 1
common/wuanalysis/anacommon.cpp

@@ -90,7 +90,7 @@ void PerformanceIssue::setLocation(const char * definition)
         filename.append(p1-definition, definition);
     line = atoi(p1+1);
     column = atoi(comma+1);
-    if (line < 0 || column < 0)
+    if (line==0 || column==0)
     {
         line=0;
         column=0;