cleaned up compiler warnings

This commit is contained in:
skarg
2012-09-23 12:48:41 +00:00
parent 9db24ea90a
commit d5fd900780
9 changed files with 36 additions and 21 deletions
+4 -2
View File
@@ -99,8 +99,10 @@ void handler_i_am_bind(
len =
iam_decode_service_request(service_request, &device_id, &max_apdu,
&segmentation, &vendor_id);
/* only add address if requested to bind */
address_add_binding(device_id, max_apdu, src);
if (len > 0) {
/* only add address if requested to bind */
address_add_binding(device_id, max_apdu, src);
}
return;
}