瀏覽代碼

Update ua_namespace.py

removed declaration of unused variable which caused compilation error. @ichrispa, please have a look
FlorianPalm 8 年之前
父節點
當前提交
2209ea3361
共有 1 個文件被更改,包括 0 次插入1 次删除
  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: