aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tool_getparam.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c
index cb5e23454..588a20723 100644
--- a/src/tool_getparam.c
+++ b/src/tool_getparam.c
@@ -437,12 +437,7 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
/* we can loop here if we have multiple single-letters */
if(!longopt) {
- if(NULL != parse) {
- letter = (char)*parse;
- }
- else {
- letter = '\0';
- }
+ letter = (char)*parse;
subletter='\0';
}
else {