
13 Nov
2007
13 Nov
'07
11:53 p.m.
HI,
In cleaning up a MIb module, it had the following imports:
IMPORTS OBJECT-TYPE FROM SNMPv2-SMI OBJECT-TYPE, IpAddress, MODULE-IDENTITY, enterprises FROM SNMPv2-SMI DisplayString, TruthValue FROM SNMPv2-TC;
With a level 5 or greater, smilint generated the warning: warning: identifier `OBJECT-TYPE' imported from module `SNMPv2-SMI' is never used
This is misleading. I was expecting the following two warnings: 1) duplicate definition of "OBJECT-TYPE" 2) all of the items from a module must be imported together
Regards, /david t. perkins