From 25dd8ac4dee9625e4711df81f0e7f5b1a175a56d Mon Sep 17 00:00:00 2001 From: Vasil Velichkov Date: Mon, 27 Mar 2017 19:48:18 +0300 Subject: [PATCH] Fix compiler warning in asn1p_y.y The Travis CI build fails because of (--enable-Werror) asn1p_y.y: In function 'asn1p_error': asn1p_y.y:2465:16: error: unused parameter 'param' [-Werror=unused-parameter] --- libasn1parser/asn1p_y.y | 1 + 1 file changed, 1 insertion(+) diff --git a/libasn1parser/asn1p_y.y b/libasn1parser/asn1p_y.y index 344dfa325..a5ea97f33 100644 --- a/libasn1parser/asn1p_y.y +++ b/libasn1parser/asn1p_y.y @@ -2463,6 +2463,7 @@ _fixup_anonymous_identifier(asn1p_expr_t *expr) { int yyerror(void **param, const char *msg) { + assert(param); extern char *asn1p_text; fprintf(stderr, "ASN.1 grammar parse error "