Skip to content

Commit

Permalink
fix(bacnet-asn1): drop redundant boolean length accumulation
Browse files Browse the repository at this point in the history
  • Loading branch information
fh1ch committed May 7, 2017
1 parent cbc3076 commit c9622d6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/bacnet-asn1.js
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,6 @@ var bacapp_decode_data = function(buffer, offset, maxLength, tagDataType, lenVal
break;
case baEnum.BacnetApplicationTags.BACNET_APPLICATION_TAG_BOOLEAN:
value.value = lenValueType > 0 ? true : false;
value.len += lenValueType;
break;
case baEnum.BacnetApplicationTags.BACNET_APPLICATION_TAG_UNSIGNED_INT:
result = decode_unsigned(buffer, offset, lenValueType);
Expand Down

0 comments on commit c9622d6

Please sign in to comment.