X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Fcommon%2Fmetadata%2Fparser.y;fp=src%2Fplugins%2Fctf%2Fcommon%2Fmetadata%2Fparser.y;h=b74497b034189b478cdd7792edd7760080d487f0;hp=f75e577b42b18559afd01f96b6b917a8c5731ecf;hb=e3e899ce2c68608f09259ad30969e54f045aadc1;hpb=578f3d7758a335fd0405d55b5b17e18948a32f10 diff --git a/src/plugins/ctf/common/metadata/parser.y b/src/plugins/ctf/common/metadata/parser.y index f75e577b..b74497b0 100644 --- a/src/plugins/ctf/common/metadata/parser.y +++ b/src/plugins/ctf/common/metadata/parser.y @@ -46,6 +46,12 @@ #include "parser-wrap.h" +/* + * Avoid warning about "yynerrs" being unused, seen with bison 3.5.1 + clang 15 + * on Ubuntu 20.04. + */ +BT_DIAG_IGNORE_UNUSED_BUT_SET_VARIABLE + /* Join two lists, put "add" at the end of "head". */ static inline void _bt_list_splice_tail (struct bt_list_head *add, struct bt_list_head *head)