aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_privacy.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-11 17:35:35 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-11 17:35:35 +0000
commit48981b22fa247acffcba2c5f839ea51cbaae8afb (patch)
treea9f4486297159bdeed75e75cb8e34e56d7f4614b /apps/app_privacy.c
parent44a872aadc7c89bf0c1846917ad73036b37db916 (diff)
Remove unused variable (bug #3318)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4757 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_privacy.c')
-rwxr-xr-xapps/app_privacy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_privacy.c b/apps/app_privacy.c
index 952964468..45fe92074 100755
--- a/apps/app_privacy.c
+++ b/apps/app_privacy.c
@@ -65,7 +65,6 @@ privacy_exec (struct ast_channel *chan, void *data)
int x;
char *s;
char phone[30];
- char new_cid[144];
struct localuser *u;
struct ast_config *cfg;
@@ -138,7 +137,7 @@ privacy_exec (struct ast_channel *chan, void *data)
res = ast_waitstream(chan, "");
ast_set_callerid (chan, phone, "Privacy Manager", NULL);
if (option_verbose > 2)
- ast_verbose (VERBOSE_PREFIX_3 "Changed Caller*ID to %s\n",new_cid);
+ ast_verbose (VERBOSE_PREFIX_3 "Changed Caller*ID to %s\n",phone);
} else {
/*Send the call to n+101 priority, where n is the current priority*/
if (ast_exists_extension(chan, chan->context, chan->exten, chan->priority + 101, chan->cid.cid_num))