From 534612371d8353cc5f386e56bbcff39a95e2327c Mon Sep 17 00:00:00 2001 From: Steve Huston Date: Tue, 13 Apr 2004 19:08:50 +0000 Subject: ChangeLogTag:Wed Apr 7 12:27:19 2004 Steve Huston --- ASNMP/asnmp/target.cpp | 3 --- ASNMP/tests/Integer_Test.cpp | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'ASNMP') 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); -- cgit v1.2.1