aboutsummaryrefslogtreecommitdiff
path: root/packages/vms
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2019-04-05 19:57:29 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2019-04-11 21:08:44 +0200
commitd1b5cf830bfe169745721b21245d2217d2c2453e (patch)
tree3f230490e3ba67789b84f94aebac29370b81092f /packages/vms
parentbb0b10135caf58f82ee9e9d38f400880a7e5c9cc (diff)
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
Diffstat (limited to 'packages/vms')
-rw-r--r--packages/vms/curl_crtl_init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/vms/curl_crtl_init.c b/packages/vms/curl_crtl_init.c
index 01a34e555..7a8d84743 100644
--- a/packages/vms/curl_crtl_init.c
+++ b/packages/vms/curl_crtl_init.c
@@ -183,7 +183,6 @@ static void set_features(void)
status = sys_trnlnm("GNV$UNIX_SHELL",
unix_shell_name, sizeof unix_shell_name -1);
if (!$VMS_STATUS_SUCCESS(status)) {
- unix_shell_name[0] = 0;
use_unix_settings = 0;
}