Skip to content

Commit

Permalink
Remove a variable which is only assigned.
Browse files Browse the repository at this point in the history
Issue found by cppcheck.
  • Loading branch information
mordante committed Feb 9, 2014
1 parent a18b102 commit 702ad0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theme.cpp
Expand Up @@ -375,7 +375,7 @@ theme::object::ANCHORING theme::object::read_anchor(const std::string& str)
{
static const std::string top_anchor = "top", left_anchor = "left",
bot_anchor = "bottom", right_anchor = "right",
fixed_anchor = "fixed", proportional_anchor = "proportional";
proportional_anchor = "proportional";
if(str == top_anchor || str == left_anchor)
return TOP_ANCHORED;
else if(str == bot_anchor || str == right_anchor)
Expand Down

0 comments on commit 702ad0a

Please sign in to comment.