mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Fix various compiler/linter warnings in script_opt/CPP code
This commit is contained in:
parent
e200016200
commit
3e85375010
15 changed files with 43 additions and 41 deletions
|
@ -241,7 +241,7 @@ string CPPCompile::Canonicalize(const char* name) const
|
|||
if ( c == ':' || c == '-' )
|
||||
c = '_';
|
||||
|
||||
cname = cname + c;
|
||||
cname += c;
|
||||
}
|
||||
|
||||
// Add a trailing '_' to avoid conflicts with C++ keywords.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue