aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_ac.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c
index b90a2d0e..50bc924e 100644
--- a/src/command/cmd_ac.c
+++ b/src/command/cmd_ac.c
@@ -1840,11 +1840,7 @@ _tray_autocomplete(ProfWin* window, const char* const input, gboolean previous)
}
result = autocomplete_param_with_ac(input, "/tray", tray_ac, FALSE, previous);
- if (result) {
- return result;
- }
-
- return NULL;
+ return result;
}
static char*