From 142c6f45d8a85e1b1e846be2813c870ef6df5e75 Mon Sep 17 00:00:00 2001 From: Joshua Colp <jcolp@digium.com> Date: Thu, 21 Jun 2007 14:00:47 +0000 Subject: [PATCH] Merged revisions 70677 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r70677 | file | 2007-06-21 09:58:36 -0400 (Thu, 21 Jun 2007) | 2 lines Fix building with ODBC storage enabled. (issue #10025 reported by denisgalvao) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70678 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 31928cc495..42ef554a41 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -1751,6 +1751,8 @@ static int last_message_index(struct ast_vm_user *vmu, char *dir) return x - 1; } +#endif + static int vm_delete(char *file) { char *txt; @@ -1769,8 +1771,6 @@ static int vm_delete(char *file) return ast_filedelete(file, NULL); } - -#endif static int inbuf(struct baseio *bio, FILE *fi) { int l; -- GitLab