mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:43:32 +03:00
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
This commit is contained in:
parent
bb0b10135c
commit
d1b5cf830b
16 changed files with 24 additions and 17 deletions
|
|
@ -599,7 +599,6 @@ SANITIZEcode rename_if_reserved_dos_device_name(char **const sanitized,
|
|||
}
|
||||
memmove(base + 1, base, blen + 1);
|
||||
base[0] = '_';
|
||||
++blen;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue