Skip to content

Commit

Permalink
[portsorch]: Remove unused variable (sonic-net#714)
Browse files Browse the repository at this point in the history
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
  • Loading branch information
Shuotian Cheng authored and lguohan committed Nov 29, 2018
1 parent ce909b6 commit 7fd158f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1864,7 +1864,7 @@ void PortsOrch::doVlanTask(Consumer &consumer)
int vlan_id;
vlan_id = stoi(key.substr(4)); // FIXME: might raise exception

string vlan_alias, port_alias;
string vlan_alias;
vlan_alias = VLAN_PREFIX + to_string(vlan_id);
string op = kfvOp(t);

Expand Down

0 comments on commit 7fd158f

Please sign in to comment.