1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

remove dead code block using an unknown variable

- same "if" test in the block above, so this would never be reached
This commit is contained in:
Stig Sandbeck Mathisen 2014-10-04 22:14:17 +02:00
parent e7125ea079
commit a55f4e4a4d

View file

@ -133,12 +133,6 @@ if (!defined ($session))
die "Croaking: could not establish SNMP object"; die "Croaking: could not establish SNMP object";
} }
if (!defined ($session))
{
die "Croaking: $error";
}
if ($ARGV[0] and $ARGV[0] eq "config") if ($ARGV[0] and $ARGV[0] eq "config")
{ {
print "host_name $host\n"; print "host_name $host\n";