]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
cppCheck: unreadVariable - 'serviceFlag' is not used in the function, so remove it
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 15 Oct 2012 19:54:34 +0000 (19:54 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 15 Oct 2012 19:54:34 +0000 (19:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1398481 13f79535-47bb-0310-9956-ffa450edef68

support/win32/ApacheMonitor.c

index de7c64298f304b7810187a5e5973915a5403a07a..c6021f3b19b0b728599aaf045356e9b63722abbc 100644 (file)
@@ -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;