From 2a96ffb19b481102bb31cc2454a4751409086e0d Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 1 Aug 2001 07:05:28 +0000 Subject: [PATCH] fix a couple of warnings --- libs/util/qfplist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/util/qfplist.c b/libs/util/qfplist.c index e650675e4..405a738e6 100644 --- a/libs/util/qfplist.c +++ b/libs/util/qfplist.c @@ -37,6 +37,7 @@ #include "QF/hash.h" #include "QF/qfplist.h" #include "QF/qtypes.h" +#include "QF/sys.h" static plitem_t *PL_ParsePropertyListItem (pldata_t *); static qboolean PL_SkipSpace (pldata_t *); @@ -477,7 +478,7 @@ PL_GetPropertyList (const char *string) pl->error = NULL; pl->line = 1; - if (newpl = PL_ParsePropertyListItem (pl)) { + if ((newpl = PL_ParsePropertyListItem (pl))) { free (pl); return newpl; } else {