Mercurial > hg > freeDiameter
diff extensions/app_acct/acct_conf.y @ 403:26aafbbc1640
Cleanup all compilation warnings in base code for 32 bit arch
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 08 Jul 2010 14:24:19 +0900 |
parents | 397cdcd41f53 |
children | 1b3b9790e7cb |
line wrap: on
line diff
--- a/extensions/app_acct/acct_conf.y Thu Jul 08 12:50:10 2010 +0900 +++ b/extensions/app_acct/acct_conf.y Thu Jul 08 14:24:19 2010 +0900 @@ -58,6 +58,9 @@ /* Forward declaration */ int yyparse(char * conffile); +/* The Lex parser prototype */ +int acct_conflex(YYSTYPE *lvalp, YYLTYPE *llocp); + /* the global configuration */ struct acct_conf * acct_config = NULL; @@ -88,9 +91,10 @@ return EINVAL; } + if (!TRACE_BOOL(FULL)) + return 0; + struct fd_list * li; - if (!TRACE_BOOL(FULL)) - return; fd_log_debug("[app_acct] Configuration dump:\n"); fd_log_debug(" Database:\n"); @@ -109,6 +113,7 @@ fd_log_debug("as ::%s\n", diam2db_types_mapping[a->avptype]); } fd_log_debug("[app_acct] Complete.\n"); + return 0; } void acct_conf_free(void)