[sword-svn] r3535 - trunk/bindings/corba/orbitcpp

scribe at crosswire.org scribe at crosswire.org
Sun Nov 26 02:24:36 MST 2017


Author: scribe
Date: 2017-11-26 02:24:36 -0700 (Sun, 26 Nov 2017)
New Revision: 3535

Modified:
   trunk/bindings/corba/orbitcpp/webmgr.hpp
Log:
fixed initialization reordering warning

Modified: trunk/bindings/corba/orbitcpp/webmgr.hpp
===================================================================
--- trunk/bindings/corba/orbitcpp/webmgr.hpp	2017-11-26 09:16:27 UTC (rev 3534)
+++ trunk/bindings/corba/orbitcpp/webmgr.hpp	2017-11-26 09:24:36 UTC (rev 3535)
@@ -44,9 +44,10 @@
 	char *extraConf;
 
 public:
-	WebMgr(const char *path, const char *extraConfPath = 0) : extraConf(0), SWMgr(path, false, new MarkupFilterMgr(FMT_WEBIF)) { if (extraConfPath) stdstr(&extraConf, extraConfPath); init(); }
+	WebMgr(const char *path, const char *extraConfPath = 0) : extraConf(0), SWMgr(path, false, new MarkupFilterMgr(FMT_WEBIF)) { init(); if (extraConfPath) stdstr(&extraConf, extraConfPath); }
 	WebMgr(SWConfig *sysConf) : SWMgr(0, sysConf, false, new MarkupFilterMgr(FMT_WEBIF)) { init(); }
 	void init() {
+		extraConf         = 0;
 		defaultGreekLex   = 0;
 		defaultHebLex     = 0;
 		defaultGreekParse = 0;




More information about the sword-cvs mailing list