Prechádzať zdrojové kódy

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

FlorianPalm 8 rokov pred
rodič
commit
d89e33c1be
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  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: