Skip to content

Commit

Permalink
Remove some unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
InsertCreativityHere committed Jan 14, 2025
1 parent 64da316 commit 3b18c5d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cpp/src/Slice/Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,6 @@ Slice::Container::createInterfaceDef(const string& name, const InterfaceList& ba
}
else
{
bool declared = dynamic_pointer_cast<ClassDecl>(matches.front()) != nullptr;
ostringstream os;
os << "interface '" << name << "' was previously defined as " << prependA(matches.front()->kindOf());
_unit->error(os.str());
Expand Down Expand Up @@ -1366,7 +1365,6 @@ Slice::Container::createInterfaceDecl(const string& name)
}
else
{
bool declared = dynamic_pointer_cast<ClassDecl>(matches.front()) != nullptr;
ostringstream os;
os << "interface '" << name << "' was previously defined as " << prependA(matches.front()->kindOf());
_unit->error(os.str());
Expand Down

0 comments on commit 3b18c5d

Please sign in to comment.