mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00
No description
![]() Warning is: /home/johanna/bro/master/src/Type.cc: In member function 'virtual bool IndexType::DoUnserialize(UnserialInfo*)': /home/johanna/bro/master/src/Type.cc:548:60: warning: enum constant in boolean context [-Wint-in-bool-context] indices = (TypeList*) BroType::Unserialize(info, TYPE_LIST); ^ /home/johanna/bro/master/src/Type.cc: In member function 'virtual bool FuncType::DoUnserialize(UnserialInfo*)': /home/johanna/bro/master/src/Type.cc:868:61: warning: enum constant in boolean context [-Wint-in-bool-context] args = (RecordType*) BroType::Unserialize(info, TYPE_RECORD); ^ /home/johanna/bro/master/src/Type.cc:872:62: warning: enum constant in boolean context [-Wint-in-bool-context] arg_types = (TypeList*) BroType::Unserialize(info, TYPE_LIST); This one is a really nice catch in my opinion. GCC is completely correct - the 2nd argument to Unserialize is a bool. This means that all these calls always evaluate to Unserialize(info, true). Which is equivalent with the default, so I just removed the type from the call. This was probably caused by someone thinking of BroVal::Unserialize, which needs the type as the 2nd argument. |
||
---|---|---|
aux | ||
cmake@9bac595066 | ||
doc | ||
man | ||
scripts | ||
src | ||
testing | ||
.gitignore | ||
.gitmodules | ||
bro-config.h.in | ||
bro-config.in | ||
bro-path-dev.in | ||
CHANGES | ||
CMakeLists.txt | ||
configure | ||
COPYING | ||
INSTALL | ||
Makefile | ||
NEWS | ||
README | ||
README.rst | ||
VERSION |
============================ Bro Network Security Monitor ============================ Bro is a powerful framework for network analysis and security monitoring. Please see the INSTALL file for installation instructions and pointers for getting started. NEWS contains release notes for the current version, and CHANGES has the complete history of changes. Please see COPYING for licensing information. You can download source and binary releases on: http://www.bro.org/download To get the current development version, clone our master git repository: git clone --recursive git://git.bro.org/bro For more documentation, research publications, and community contact information, please see Bro's home page: http://www.bro.org On behalf of the Bro Development Team, Vern Paxson & Robin Sommer, International Computer Science Institute & Lawrence Berkeley National Laboratory vern@icir.org / robin@icir.org