aboutsummaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
Diffstat (limited to 'monitor')
-rw-r--r--monitor/misc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/monitor/misc.c b/monitor/misc.c
index c18a713d9c..d58a81c452 100644
--- a/monitor/misc.c
+++ b/monitor/misc.c
@@ -1353,9 +1353,6 @@ int get_monitor_def(Monitor *mon, int64_t *pval, const char *name)
static void add_completion_option(ReadLineState *rs, const char *str,
const char *option)
{
- if (!str || !option) {
- return;
- }
if (!strncmp(option, str, strlen(str))) {
readline_add_completion(rs, option);
}