diff options
author | David Tardon <dtardon@redhat.com> | 2012-04-16 16:19:54 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-04-16 20:23:04 +0200 |
commit | cf40c8513a5432a1b6749bfe6d73250266c9be5c (patch) | |
tree | a8973f269fc00a5d099475cce167cd0f54de43ab /desktop | |
parent | cc138ca9637ce6325b52ad7473e4568422602564 (diff) |
WaE: variable 'dwWaitResult' set but not used
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/win32/source/guistdio/guistdio.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop/win32/source/guistdio/guistdio.inc b/desktop/win32/source/guistdio/guistdio.inc index 48b3c88bf379..25586f0be214 100644 --- a/desktop/win32/source/guistdio/guistdio.inc +++ b/desktop/win32/source/guistdio/guistdio.inc @@ -399,7 +399,6 @@ int _tmain( int, _TCHAR ** ) DWORD dwWaitForUIThreadId; HANDLE hWaitForUIThread = CreateThread( NULL, 0, WaitForUIThread, (LPVOID)aProcessInfo.hProcess, 0, &dwWaitForUIThreadId ); - DWORD dwWaitResult; HANDLE hObjects[] = { hTargetProcess, @@ -409,13 +408,13 @@ int _tmain( int, _TCHAR ** ) }; #ifdef UNOPKG - dwWaitResult = WaitForMultipleObjects( SAL_N_ELEMENTS(hObjects), hObjects, TRUE, INFINITE ); + WaitForMultipleObjects( SAL_N_ELEMENTS(hObjects), hObjects, TRUE, INFINITE ); #else bool bDetach = false; int nOpenPipes = 2; do { - dwWaitResult = WaitForMultipleObjects( SAL_N_ELEMENTS(hObjects), hObjects, FALSE, INFINITE ); + DWORD dwWaitResult = WaitForMultipleObjects( SAL_N_ELEMENTS(hObjects), hObjects, FALSE, INFINITE ); switch ( dwWaitResult ) { |