diff options
Diffstat (limited to 'ASNMP')
-rw-r--r-- | ASNMP/asnmp/target.cpp | 3 | ||||
-rw-r--r-- | ASNMP/tests/Integer_Test.cpp | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/ASNMP/asnmp/target.cpp b/ASNMP/asnmp/target.cpp index ac395792b4b..d6f8de6151f 100644 --- a/ASNMP/asnmp/target.cpp +++ b/ASNMP/asnmp/target.cpp @@ -159,9 +159,6 @@ SnmpTarget& SnmpTarget::operator=(const SnmpTarget& lhs) int operator==(const SnmpTarget& lhs, const SnmpTarget& rhs) { - if (lhs == rhs) - return 1; - if (lhs.timeout_ != rhs.timeout_) return 0; diff --git a/ASNMP/tests/Integer_Test.cpp b/ASNMP/tests/Integer_Test.cpp index fbb043a3ca2..939ca05fc43 100644 --- a/ASNMP/tests/Integer_Test.cpp +++ b/ASNMP/tests/Integer_Test.cpp @@ -49,7 +49,7 @@ static unsigned long ul = ULONG_MAX, def = 0; static int i = INT_MAX, ni = INT_MIN; static unsigned int ui = UINT_MAX; static unsigned short us = 10; -static short si = 32768; +static unsigned short si = 32768; /* SnmpInt32( void); |