mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
Fix a bunch of compiler warnings generated by gcc 4.6.0.
Most of these are -Wunused-but-set-variable, but there were a few others mixed in here, as well. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@316265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -7071,7 +7071,6 @@ static int forward_message(struct ast_channel *chan, char *context, struct vm_st
|
||||
char *dir;
|
||||
int curmsg;
|
||||
char urgent_str[7] = "";
|
||||
char tmptxtfile[PATH_MAX];
|
||||
int prompt_played = 0;
|
||||
#ifndef IMAP_STORAGE
|
||||
char msgfile[PATH_MAX], textfile[PATH_MAX], backup[PATH_MAX], backup_textfile[PATH_MAX];
|
||||
@@ -7084,7 +7083,6 @@ static int forward_message(struct ast_channel *chan, char *context, struct vm_st
|
||||
dir = vms->curdir;
|
||||
curmsg = vms->curmsg;
|
||||
|
||||
tmptxtfile[0] = '\0';
|
||||
while (!res && !valid_extensions) {
|
||||
int use_directory = 0;
|
||||
if (ast_test_flag((&globalflags), VM_DIRECFORWARD)) {
|
||||
|
||||
Reference in New Issue
Block a user