diff --git a/src/tool_parsecfg.c b/src/tool_parsecfg.c index 14efc5c3aa..8432e57943 100644 --- a/src/tool_parsecfg.c +++ b/src/tool_parsecfg.c @@ -253,7 +253,7 @@ int parseconfig(const char *filename, struct GlobalConfig *global) if(res != PARAM_OK && res != PARAM_NEXT_OPERATION) { /* the help request isn't really an error */ if(!strcmp(filename, "-")) { - filename = (char *)""; + filename = ""; } if(res != PARAM_HELP_REQUESTED && res != PARAM_MANUAL_REQUESTED &&