From 5c94e1b148c03e7f25678dd4d7e7327c1f66f40e Mon Sep 17 00:00:00 2001 From: qwell Date: Mon, 21 Jan 2008 20:54:14 +0000 Subject: Fix compiler error when building with CONFIG_ZAPATA_PPP. Closes issue #11807. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3716 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- zaptel-base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zaptel-base.c b/zaptel-base.c index 304e3e0..23d1943 100644 --- a/zaptel-base.c +++ b/zaptel-base.c @@ -4521,6 +4521,7 @@ static int zt_chan_ioctl(struct inode *inode, struct file *file, unsigned int cm if (!chan->ppp) { chan->ppp = kmalloc(sizeof(struct ppp_channel), GFP_KERNEL); if (chan->ppp) { + struct echo_can_state *tec; memset(chan->ppp, 0, sizeof(struct ppp_channel)); chan->ppp->private = chan; chan->ppp->ops = &ztppp_ops; -- cgit v1.2.3