memanalyze.pl: try fixing a warning

```
Use of uninitialized value $sizeataddr{"5600c1703d38"} in numeric gt (>) at ../../tests/memanalyze.pl line 178, <$fileh> line 1.
Use of uninitialized value $sizeataddr{"5600c1703d38"} in numeric gt (>) at ../../tests/memanalyze.pl line 178, <$fileh> line 1.
```
https://github.com/curl/curl/actions/runs/16178889943/job/45670573824?pr=17877#step:39:163
This commit is contained in:
Viktor Szakats 2025-07-09 22:03:45 +02:00
parent f01ca10aa3
commit d672bbd876
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -175,13 +175,13 @@ while(<$fileh>) {
$size = $1;
$addr = $2;
if($sizeataddr{$addr}>0) {
if($sizeataddr{$addr} && $sizeataddr{$addr}>0) {
# this means weeeeeirdo
print "Mixed debug compile ($source:$linenum at line $lnum), rebuild curl now\n";
print "We think $sizeataddr{$addr} bytes are already allocated at that memory address: $addr!\n";
}
$sizeataddr{$addr}=$size;
$sizeataddr{$addr} = $size;
$totalmem += $size;
$memsum += $size;