aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-29 20:47:43 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-29 20:47:43 +0000
commit3a79d604ceb0862d997e993542fa0188f4ec9571 (patch)
treeead4aa9f79b29ca5bc5321faf6456cd02f195ad2 /apps
parentbba18a95045ed1e7fe118e6a900bd99b3b638618 (diff)
Resolve some warnings when not building with IMAP_STORAGE
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@52612 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c2
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) {