[asterisk-commits] russell: trunk r52612 - /trunk/apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jan 29 13:47:44 MST 2007


Author: russell
Date: Mon Jan 29 14:47:43 2007
New Revision: 52612

URL: http://svn.digium.com/view/asterisk?view=rev&rev=52612
Log:
Resolve some warnings when not building with IMAP_STORAGE

Modified:
    trunk/apps/app_voicemail.c

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=52612&r1=52611&r2=52612
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Mon Jan 29 14:47:43 2007
@@ -4090,9 +4090,11 @@
 
 		/* 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) {



More information about the asterisk-commits mailing list