[Spice-devel] [PATCH 07/20] mingw: remove unused variable

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


---
 vdagent/display_setting.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/vdagent/display_setting.cpp b/vdagent/display_setting.cpp
index 8abef3f..fdf5a31 100644
--- a/vdagent/display_setting.cpp
+++ b/vdagent/display_setting.cpp
@@ -122,7 +122,6 @@ DWORD DisplaySetting::get_user_process_id()
 {
     PROCESSENTRY32 proc_entry;
     DWORD explorer_pid = 0;
-    HANDLE token = NULL;
     DWORD agent_session_id;
 
     if (!ProcessIdToSessionId(GetCurrentProcessId(), &agent_session_id)) {
-- 
1.7.7.6



More information about the Spice-devel mailing list