From 0df95143a80293badf5cd16bf10f7b7b2140c1f3 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 17 Dec 2001 15:50:36 +0000 Subject: exchanged return with goto out in subconfig parsing and fixed error messages git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3560 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfgparser.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cfgparser.h') diff --git a/cfgparser.h b/cfgparser.h index a955314a3e..54c924da32 100644 --- a/cfgparser.h +++ b/cfgparser.h @@ -16,7 +16,6 @@ #define CONF_TYPE_SUBCONFIG 8 - #define ERR_NOT_AN_OPTION -1 #define ERR_MISSING_PARAM -2 #define ERR_OUT_OF_RANGE -3 @@ -33,8 +32,8 @@ struct config { char *name; void *p; - unsigned int type :4; - unsigned int flags:4; + unsigned int type; + unsigned int flags; float min,max; }; -- cgit v1.2.3