mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Fix clang-tidy bugprone-unused-local-non-trivial-variable warnings
This commit is contained in:
parent
8bb015754a
commit
d2045d1834
8 changed files with 1 additions and 7 deletions
|
@ -63,7 +63,6 @@ shared_ptr<CPP_InitInfo> CPPCompile::RegisterConstant(const ValPtr& vp, int& con
|
|||
}
|
||||
|
||||
auto tag = t->Tag();
|
||||
auto const_name = const_info[tag]->NextName();
|
||||
shared_ptr<CPP_InitInfo> gi;
|
||||
|
||||
switch ( tag ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue