diff options
author | Matthew Jordan <mjordan@digium.com> | 2015-03-28 12:56:12 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2015-03-28 12:56:12 +0000 |
commit | e126ab9eebc6db005df31280ff8e596ba6562426 (patch) | |
tree | 5ee1c638202c8f73edacca0944cb107bf2e1d65d /apps/app_queue.c | |
parent | 2f6534527deef4dcc40001b93601761cf643a7c4 (diff) |
clang compiler warnings: Fix a variety of "unused" warnings
This patch fixes the -Wunused-value -Wunused-variable -Wunused-const-variable
errors caught by clang. Specifically:
* apps/app_queue.c: removed unused qpm_cmd_usage[], qum_cmd_usage[],
qsmp_cmd_usage[]
* cel/cel_sqlite3_custom.c: removed unused name[] = "cel_sqlite3_custom"
* channels/chan_pjsip.c: removed unused desc[] = "PJSIP Channel"
* codecs/gsm/src/gsm_create.c: removed unused ident[] = "$Header$"
* funcs/func_env.c:729: Fixed ast_str_append_substr.
* main/editline/np/strlcat.c: removed unused rcsid variable
* main/editline/np/strlcpy.c: removed unused rcsid variable
* main/security_events.c: removed unused TIMESTAMP_STR_LEN
* utils/conf2ael.c: removed unused cfextension_states
* utils/extconf.c: removed unused cfextension_states
Review: https://reviewboard.asterisk.org/r/4526
ASTERISK-24917
Reported by: dkdegroot
patches:
rb4526.patch submitted by dkdegroot (License 6600)
........
Merged revisions 433693 from http://svn.asterisk.org/svn/asterisk/branches/11
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 668be42b2..7b4faf0c0 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -10346,15 +10346,6 @@ static char *handle_queue_reload(struct ast_cli_entry *e, int cmd, struct ast_cl return CLI_SUCCESS; } -static const char qpm_cmd_usage[] = -"Usage: queue pause member <channel> in <queue> reason <reason>\n"; - -static const char qum_cmd_usage[] = -"Usage: queue unpause member <channel> in <queue> reason <reason>\n"; - -static const char qsmp_cmd_usage[] = -"Usage: queue set member penalty <channel> from <queue> <penalty>\n"; - static struct ast_cli_entry cli_queue[] = { AST_CLI_DEFINE(queue_show, "Show status of a specified queue"), AST_CLI_DEFINE(handle_queue_rule_show, "Show the rules defined in queuerules.conf"), |