mirror of
https://github.com/curl/curl.git
synced 2026-06-08 01:14:40 +03:00
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:
parent
f01ca10aa3
commit
d672bbd876
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue