mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Resolve some warnings when not building with IMAP_STORAGE
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4090,9 +4090,11 @@ static int forward_message(struct ast_channel *chan, char *context, struct vm_st
|
||||
|
||||
/* Forward VoiceMail */
|
||||
long duration = 0;
|
||||
#ifdef IMAP_STORAGE
|
||||
char *myserveremail = serveremail;
|
||||
char buf[1024] = "";
|
||||
int attach_user_voicemail = ast_test_flag((&globalflags), VM_ATTACH);
|
||||
#endif
|
||||
RETRIEVE(dir, curmsg);
|
||||
cmd = vm_forwardoptions(chan, sender, dir, curmsg, vmfmts, S_OR(context, "default"), record_gain, &duration, vms);
|
||||
if (!cmd) {
|
||||
|
Reference in New Issue
Block a user