summaryrefslogtreecommitdiff
path: root/main/features.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2015-03-28 12:56:12 +0000
committerMatthew Jordan <mjordan@digium.com>2015-03-28 12:56:12 +0000
commite126ab9eebc6db005df31280ff8e596ba6562426 (patch)
tree5ee1c638202c8f73edacca0944cb107bf2e1d65d /main/features.c
parent2f6534527deef4dcc40001b93601761cf643a7c4 (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 'main/features.c')
-rw-r--r--main/features.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/main/features.c b/main/features.c
index deb28ee0f..f3bf7a714 100644
--- a/main/features.c
+++ b/main/features.c
@@ -318,11 +318,6 @@ struct ast_bridge_thread_obj
unsigned int return_to_pbx:1;
};
-static const struct ast_datastore_info channel_app_data_datastore = {
- .type = "Channel appdata datastore",
- .destroy = ast_free_ptr,
-};
-
static void set_config_flags(struct ast_channel *chan, struct ast_bridge_config *config)
{
ast_clear_flag(config, AST_FLAGS_ALL);