Browse Source

Update ua_namespace.py

removed declaration of unused variable which caused compilation error. @ichrispa, please have a look
FlorianPalm 8 years ago
parent
commit
2209ea3361
1 changed files with 0 additions and 1 deletions
  1. 0 1
      tools/pyUANamespace/ua_namespace.py

+ 0 - 1
tools/pyUANamespace/ua_namespace.py

@@ -675,7 +675,6 @@ 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: