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
|
@ -1241,7 +1241,6 @@ string CPPCompile::GenField(const ExprPtr& rec, int field) {
|
|||
auto pt = processed_types.find(rt);
|
||||
ASSERT(pt != processed_types.end());
|
||||
auto rt_offset = pt->second->Offset();
|
||||
string field_name = rt->FieldName(field);
|
||||
field_decls.emplace_back(rt_offset, rt->FieldDecl(field));
|
||||
|
||||
if ( rfm != record_field_mappings.end() )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue