From 39b235ef2089ff87f90b5a316dbf966103c709c4 Mon Sep 17 00:00:00 2001 From: Bill Fumerola Date: Fri, 15 Oct 1999 17:33:24 +0000 Subject: [PATCH] -Wall fix: ambigious else --- usr.sbin/vidcontrol/vidcontrol.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/vidcontrol/vidcontrol.c b/usr.sbin/vidcontrol/vidcontrol.c index efa6c2d0f48d..d34ff7b2527f 100644 --- a/usr.sbin/vidcontrol/vidcontrol.c +++ b/usr.sbin/vidcontrol/vidcontrol.c @@ -81,11 +81,12 @@ mkfullname(const char *s1, const char *s2, const char *s3) int f; f = strlen(s1) + strlen(s2) + strlen(s3) + 1; - if (f > bufl) + if (f > bufl) { if (buf) buf = (char *)realloc(buf, f); else buf = (char *)malloc(f); + } if (!buf) { bufl = 0; return(NULL);