Browse Source

suppress a cppcheck false positive

Julius Pfrommer 8 years ago
parent
commit
f4a53633a4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/ua_types_encoding_binary.c

+ 1 - 0
src/ua_types_encoding_binary.c

@@ -779,6 +779,7 @@ findDataTypeByBinary(const UA_NodeId *typeId, const UA_DataType **findtype) {
     }
     for(size_t i = 0; i < typesSize; ++i) {
         if(types[i].binaryEncodingId == typeId->identifier.numeric) {
+            // cppcheck-suppress autoVariables
             *findtype = &types[i];
             return UA_STATUSCODE_GOOD;
         }