cleaned clang compile warnings

This commit is contained in:
Steve Karg
2019-12-18 21:14:05 -06:00
parent efea4a1a59
commit 830ab2d788
14 changed files with 21 additions and 27 deletions
+1 -1
View File
@@ -760,7 +760,7 @@ int address_list_encode(uint8_t *apdu, unsigned apdu_len)
/* FIXME: I really shouild check the length remaining here but it is
fairly pointless until we have the true length remaining in
the packet to work with as at the moment it is just MAX_APDU */
apdu_len = apdu_len;
(void)apdu_len;
/* look for matching address */
pMatch = Address_Cache;
while (pMatch <= &Address_Cache[MAX_ADDRESS_CACHE - 1]) {