From d1b5cf830bfe169745721b21245d2217d2c2453e Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Fri, 5 Apr 2019 19:57:29 +0200 Subject: build: fix Codacy/CppCheck warnings - remove unused variables - declare conditionally used variables conditionally - suppress unused variable warnings in the CMake tests - remove dead variable stores - consistently use WIN32 macro to detect Windows Closes https://github.com/curl/curl/pull/3739 --- src/tool_doswin.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/tool_doswin.c') diff --git a/src/tool_doswin.c b/src/tool_doswin.c index 8b5bdadaf..779a3cb8f 100644 --- a/src/tool_doswin.c +++ b/src/tool_doswin.c @@ -599,7 +599,6 @@ SANITIZEcode rename_if_reserved_dos_device_name(char **const sanitized, } memmove(base + 1, base, blen + 1); base[0] = '_'; - ++blen; } } #endif -- cgit v1.2.3