[svn-commits] dlee: branch dlee/ASTERISK-21096 r383713 - /team/dlee/ASTERISK-21096/main/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Mar 25 09:59:42 CDT 2013
Author: dlee
Date: Mon Mar 25 09:59:38 2013
New Revision: 383713
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=383713
Log:
Fixed a couple of set-but-not-used warnings
Modified:
team/dlee/ASTERISK-21096/main/channel.c
Modified: team/dlee/ASTERISK-21096/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ASTERISK-21096/main/channel.c?view=diff&rev=383713&r1=383712&r2=383713
==============================================================================
--- team/dlee/ASTERISK-21096/main/channel.c (original)
+++ team/dlee/ASTERISK-21096/main/channel.c Mon Mar 25 09:59:38 2013
@@ -7398,18 +7398,12 @@
void ast_channel_set_caller_event(struct ast_channel *chan, const struct ast_party_caller *caller, const struct ast_set_party_caller *update)
{
- const char *pre_set_number;
- const char *pre_set_name;
-
if (ast_channel_caller(chan) == caller) {
/* Don't set to self */
return;
}
ast_channel_lock(chan);
- pre_set_number =
- S_COR(ast_channel_caller(chan)->id.number.valid, ast_channel_caller(chan)->id.number.str, NULL);
- pre_set_name = S_COR(ast_channel_caller(chan)->id.name.valid, ast_channel_caller(chan)->id.name.str, NULL);
ast_party_caller_set(ast_channel_caller(chan), caller, update);
publish_channel_state(chan);
if (ast_channel_cdr(chan)) {
More information about the svn-commits
mailing list