Преглед на файлове

reverted last commit to ensure travis is building again. Still, there "retval" is not used when only "UA_BUILD_EXAMPLES_NODESET_COMPILER"

FlorianPalm преди 8 години
родител
ревизия
d89e33c1be
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      tools/pyUANamespace/ua_namespace.py

+ 2 - 1
tools/pyUANamespace/ua_namespace.py

@@ -675,7 +675,8 @@ class opcua_namespace():
     
     code.append('#include "'+outfilename+'.h"')
     code.append("UA_INLINE void "+outfilename+"(UA_Server *server) {")
-    
+    code.append('UA_StatusCode retval = UA_STATUSCODE_GOOD; ')
+
     # Before printing nodes, we need to request additional namespace arrays from the server
     for nsid in self.namespaceIdentifiers:
       if nsid == 0 or nsid==1: