Ver código fonte

suppress a cppcheck false positive

Julius Pfrommer 8 anos atrás
pai
commit
f4a53633a4
1 arquivos alterados com 1 adições e 0 exclusões
  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;
         }