Fix an "uninitialized" compiler warning

Though it is actually initialized on all non-aborting code paths.
This commit is contained in:
Jon Siwek 2018-08-06 17:07:56 -05:00
parent e6042940dc
commit 7126616707
3 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,11 @@
2.5-815 | 2018-08-06 17:07:56 -0500
* Fix an "uninitialized" compiler warning (Jon Siwek, Corelight)
* Fix (non)suppression of proxy-bound events in known-*.bro scripts
(Jon Siwek, Corelight)
2.5-811 | 2018-08-03 11:33:57 -0500
* Update scripts to use vector "+=" append operation (Vern Paxson, Corelight)

View file

@ -1 +1 @@
2.5-811
2.5-815

View file

@ -882,7 +882,7 @@ Val* BinaryExpr::SetFold(Val* v1, Val* v2) const
TableVal* tv1 = v1->AsTableVal();
TableVal* tv2 = v2->AsTableVal();
TableVal* result;
bool res;
bool res = false;
switch ( tag ) {
case EXPR_AND: