diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c index 31156e15..6a5e11ad 100644 --- a/src/command/cmd_ac.c +++ b/src/command/cmd_ac.c @@ -4135,11 +4135,8 @@ _executable_autocomplete(ProfWin* window, const char* const input, gboolean prev char* result = NULL; result = autocomplete_param_with_ac(input, "/executable", executable_ac, TRUE, previous); - if (result) { - return result; - } - return NULL; + return result; } static char*