[Spice-devel] [PATCH 08/20] mingw: fix initialization list order for VDAgent()

Christophe Fergeau cfergeau at redhat.com
Thu Mar 1 02:17:42 PST 2012


---
 vdagent/vdagent.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp
index 22e9c59..1cfa96d 100644
--- a/vdagent/vdagent.cpp
+++ b/vdagent/vdagent.cpp
@@ -176,9 +176,9 @@ VDAgent::VDAgent()
     , _display_setting (VD_AGENT_REGISTRY_KEY)
     , _logon_desktop (false)
     , _display_setting_initialized (false)
-    , _log (NULL)
     , _client_caps(NULL)
-    , _client_caps_size(NULL)
+    , _client_caps_size(0)
+    , _log (NULL)
 {
     TCHAR log_path[MAX_PATH];
     TCHAR temp_path[MAX_PATH];
-- 
1.7.7.6



More information about the Spice-devel mailing list