Fix compiler nitpicks from new SNMP code.