summaryrefslogtreecommitdiff
path: root/support/win32
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-05-15 16:58:45 +0000
committerStefan Fritsch <sf@apache.org>2011-05-15 16:58:45 +0000
commit2014acf62f101c89e513d7c4fce751c929491ab0 (patch)
treef2b9c314edc5ecd712b762bcb29edf2afd6d3f48 /support/win32
parentb9474fdfeb2afc72b2b052715d1a936700fe77fe (diff)
downloadhttpd-2014acf62f101c89e513d7c4fce751c929491ab0.tar.gz
Improvements found by cppcheck:
remove some unused variables and dead assignments, reduce the scope of some variables, add some parens to improve readability git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1103459 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/win32')
-rw-r--r--support/win32/ApacheMonitor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/support/win32/ApacheMonitor.c b/support/win32/ApacheMonitor.c
index 96beb17b28..0e8a23ebe7 100644
--- a/support/win32/ApacheMonitor.c
+++ b/support/win32/ApacheMonitor.c
@@ -1299,7 +1299,6 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message,
case WM_TIMER_REFRESH:
{
- int nPrev = 0, nNew = 0;
EnterCriticalSection(&g_stcSection);
if (g_bRescanServices)
{