mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +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
|
@ -491,7 +491,6 @@ ListTypeInfo::ListTypeInfo(CPPCompile* _c, TypePtr _t)
|
|||
}
|
||||
|
||||
void ListTypeInfo::AddInitializerVals(std::vector<std::string>& ivs) const {
|
||||
string type_list;
|
||||
for ( auto& t : types ) {
|
||||
auto iv = Fmt(c->TypeOffset(t));
|
||||
ivs.emplace_back(iv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue