From 7f8e5b00dcd82c3328ebb626ab74d25b5ded43fd Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 6 Jan 2019 23:39:43 +0500 Subject: [PATCH] src/Cedar/UT: remove unused function found by cppcheck [src/Cedar/Proto_SSTP.c:126]: (style) The function 'SetNoSstp' is never used. --- src/Cedar/UT.c | 4 ---- src/Cedar/UT.h | 1 - 2 files changed, 5 deletions(-) diff --git a/src/Cedar/UT.c b/src/Cedar/UT.c index 7c97bb9c..4174b5e5 100644 --- a/src/Cedar/UT.c +++ b/src/Cedar/UT.c @@ -406,10 +406,6 @@ UINT UtSpeedMeterDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, void } // Speedometer -void UtSpeedMeter() -{ - UtSpeedMeterEx(NULL); -} void UtSpeedMeterEx(void *hWnd) { Dialog((HWND)hWnd, D_SPEEDMETER, UtSpeedMeterDlgProc, NULL); diff --git a/src/Cedar/UT.h b/src/Cedar/UT.h index 51877e94..fd7313e6 100644 --- a/src/Cedar/UT.h +++ b/src/Cedar/UT.h @@ -131,7 +131,6 @@ void UtSpeedMeterDlgRefreshStatus(HWND hWnd); #endif // UT_C // Function prototype -void UtSpeedMeter(); void UtSpeedMeterEx(void *hWnd); #endif // UT_H