From: Christophe Jaillet Date: Mon, 15 Oct 2012 19:54:34 +0000 (+0000) Subject: cppCheck: unreadVariable - 'serviceFlag' is not used in the function, so remove it X-Git-Tag: 2.5.0-alpha~6193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d4922c7cad6d6c6d48cbed56754d13a2a0619f0;p=thirdparty%2Fapache%2Fhttpd.git cppCheck: unreadVariable - 'serviceFlag' is not used in the function, so remove it git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1398481 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/win32/ApacheMonitor.c b/support/win32/ApacheMonitor.c index de7c64298f3..c6021f3b19b 100644 --- a/support/win32/ApacheMonitor.c +++ b/support/win32/ApacheMonitor.c @@ -542,7 +542,6 @@ BOOL ApacheManageService(LPCTSTR szServiceName, LPCTSTR szImagePath, { TCHAR szMsg[MAX_PATH]; BOOL retValue; - BOOL serviceFlag = TRUE; SC_HANDLE schService; SC_HANDLE schSCManager; SERVICE_STATUS schSStatus;