Skip to content

Commit

Permalink
Fix compiler warning in asn1p_y.y
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
velichkov committed Mar 27, 2017
1 parent 9632f5d commit 25dd8ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libasn1parser/asn1p_y.y
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 25dd8ac

Please sign in to comment.