]> git.ipfire.org Git - thirdparty/asterisk.git/commit
clang compiler warnings: Fix a variety of "unused" warnings
authorMatthew Jordan <mjordan@digium.com>
Sat, 28 Mar 2015 12:53:50 +0000 (12:53 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sat, 28 Mar 2015 12:53:50 +0000 (12:53 +0000)
commit29e6597f0b50274ceba20bdba2291bae370d4dfc
treeccf10e7f08020b2945bab01666f3194f121c3913
parentbaa010e83d7beee648798ae2b23ff7b620b986d0
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"
* 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
* 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)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@433693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c
cel/cel_sqlite3_custom.c
codecs/gsm/src/gsm_create.c
funcs/func_env.c
main/editline/np/strlcat.c
main/editline/np/strlcpy.c
utils/conf2ael.c
utils/extconf.c