summaryrefslogtreecommitdiff
path: root/vdagent
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-02-19 23:17:15 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-03-01 12:58:29 +0100
commita8b47ea6535e3ad166b82d9ebfa2433c71bb5be5 (patch)
treedf1d3c6fad11bc9c89b04c44d469fea998c87158 /vdagent
parent9d1586c1dd052f95d5aeb370e27011e635026787 (diff)
mingw: remove unused variable
Diffstat (limited to 'vdagent')
-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)) {