summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-02-19 23:17:15 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-02-23 19:03:25 +0100
commit04c98d58507ff34a2f281c15826c8d6cf88cff30 (patch)
tree362aff0b854a3715e57da1f2376566d530e8130a
parentc74a7e161e872110f4311482b95b0014363c8fe9 (diff)
mingw: remove unused variable
-rw-r--r--vdagent/display_setting.cpp1
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)) {