mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
remove unused local variables
This commit is contained in:
parent
8e77e3e92c
commit
6f82c1610e
1 changed files with 0 additions and 5 deletions
|
@ -126,9 +126,6 @@ void CPP_BasicConstInitsInfo::BuildCohortElement(CPPCompile* c, string init_type
|
||||||
|
|
||||||
string CPP_InitInfo::ValElem(CPPCompile* c, ValPtr v)
|
string CPP_InitInfo::ValElem(CPPCompile* c, ValPtr v)
|
||||||
{
|
{
|
||||||
string init_type;
|
|
||||||
string init_args;
|
|
||||||
|
|
||||||
if ( v )
|
if ( v )
|
||||||
{
|
{
|
||||||
int consts_offset;
|
int consts_offset;
|
||||||
|
@ -246,8 +243,6 @@ void FuncConstInfo::InitializerVals(std::vector<std::string>& ivs) const
|
||||||
ivs.emplace_back(Fmt(type));
|
ivs.emplace_back(Fmt(type));
|
||||||
ivs.emplace_back(Fmt(c->TrackString(fn)));
|
ivs.emplace_back(Fmt(c->TrackString(fn)));
|
||||||
|
|
||||||
string hashes;
|
|
||||||
|
|
||||||
if ( ! c->NotFullyCompilable(fn) )
|
if ( ! c->NotFullyCompilable(fn) )
|
||||||
{
|
{
|
||||||
const auto& bodies = f->GetBodies();
|
const auto& bodies = f->GetBodies();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue