diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-01-29 20:47:43 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-01-29 20:47:43 +0000 |
commit | e0944a6fc96178644a4d34af3e126a430f56627e (patch) | |
tree | ead4aa9f79b29ca5bc5321faf6456cd02f195ad2 /apps | |
parent | 89bcae322d654ed481aad4af75c88017e03c8df5 (diff) |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index c8d6102c8..2b00e9b08 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -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) { |