From 411834e089f3cad1b0558c579f8754103b85e8bb Mon Sep 17 00:00:00 2001 From: Tim Kourt Date: Thu, 19 Sep 2019 10:16:30 -0700 Subject: [PATCH] client: Remove unused API --- client/command.c | 5 ----- client/command.h | 1 - 2 files changed, 6 deletions(-) diff --git a/client/command.c b/client/command.c index 1f9c3b05..5ca453d7 100644 --- a/client/command.c +++ b/client/command.c @@ -76,11 +76,6 @@ bool command_option_get(const char *name, const char **value_out) return false; } -bool command_has_options(void) -{ - return !l_queue_isempty(command_options); -} - static enum cmd_status cmd_version(const char *entity, char **argv, int argc) { diff --git a/client/command.h b/client/command.h index ab1644c1..a9e448d7 100644 --- a/client/command.h +++ b/client/command.h @@ -58,7 +58,6 @@ struct command_family { }; bool command_option_get(const char *name, const char **value_out); -bool command_has_options(void); bool command_line_find_token(const char *token, uint8_t num_to_inspect); char **command_completion(const char *text, int start, int end);