This kills: cf-lex.c:1874: warning: 'yy_fatal_error' defined but not used Signed-off-by: Joakim Tjernlund <joakim.tjernl...@transmode.se> --- conf/cf-lex.l | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/conf/cf-lex.l b/conf/cf-lex.l index 6612d3c..82f4c52 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -71,7 +71,7 @@ int (*cf_read_hook)(byte *buf, unsigned int max); #define YY_INPUT(buf,result,max) result = cf_read_hook(buf, max); -#define YY_FATAL_ERROR(msg) cf_error(msg) +#define YY_FATAL_ERROR(msg) do {cf_error(msg); if(0) yy_fatal_error(msg); } while(0) %} -- 1.6.4.4