From: Mark Spencer Date: Thu, 31 Mar 2005 19:07:27 +0000 (+0000) Subject: Fix build without zaptel (bug #3901) X-Git-Tag: 1.2.0-beta1~953 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b6fd23d96602e77c3cd9ce0822358cda7a00e077;p=thirdparty%2Fasterisk.git Fix build without zaptel (bug #3901) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5320 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channel.c b/channel.c index 64b8184aaa..e621aec5e1 100755 --- a/channel.c +++ b/channel.c @@ -1282,11 +1282,11 @@ struct ast_frame *ast_read(struct ast_channel *chan) { struct ast_frame *f = NULL; int blah; + int prestate; #ifdef ZAPTEL_OPTIMIZATIONS int (*func)(void *); void *data; int res; - int prestate; #endif static struct ast_frame null_frame = {