git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pidl/ws: fix Assigned value is garbage or undefined found by Clang Analyzer
[samba.git]
/
pidl
/
lib
/
Parse
/
Pidl
/
Wireshark
/
NDR.pm
diff --git
a/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
b/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
index 40c59c9a5176fc203654965ae493c9a19e79594b..632f0942dd2c992fb5a3f2f7ef36f1ade39612eb 100644
(file)
--- a/
pidl/lib/Parse/Pidl/Wireshark/NDR.pm
+++ b/
pidl/lib/Parse/Pidl/Wireshark/NDR.pm
@@
-661,7
+661,7
@@
sub Struct($$$$)
}
my $switch_type = "g${switch_raw_type}";
- push @$vars, "$switch_type $v;";
+ push @$vars, "$switch_type $v
= 0
;";
$switch_info = [ $_->{TYPE}, $v ];
$varswitchs->{$v} = $switch_info;
}