From edc82f2b819e4395a715e35e64582c165fa7acd9 Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 15 Jul 1999 03:04:31 +0000 Subject: Fix a dangling else warning from new egcs. --- usr.sbin/pccard/pccardd/file.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin/pccard/pccardd') diff --git a/usr.sbin/pccard/pccardd/file.c b/usr.sbin/pccard/pccardd/file.c index 344aa34..7be1ba0 100644 --- a/usr.sbin/pccard/pccardd/file.c +++ b/usr.sbin/pccard/pccardd/file.c @@ -26,7 +26,7 @@ #ifndef lint static const char rcsid[] = - "$Id: file.c,v 1.16 1998/04/25 18:10:10 hosokawa Exp $"; + "$Id: file.c,v 1.17 1999/06/17 21:07:58 markm Exp $"; #endif /* not lint */ #include @@ -336,7 +336,7 @@ memblk_tok(int force) struct allocblk *mem; int i, j; - if ((i = num_tok()) >= 0) + if ((i = num_tok()) >= 0) { if ((j = num_tok()) < 0) error("illegal memory block"); else { @@ -353,6 +353,7 @@ memblk_tok(int force) } return (mem); } + } if (force) error("illegal or missing memory block spec"); return (0); -- cgit v1.1