Skip to content

Commit

Permalink
Supress unused-but-set warning in p4parser
Browse files Browse the repository at this point in the history
  • Loading branch information
vlstill committed Feb 22, 2023
1 parent 8589fdf commit 2440123
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontends/parsers/p4/p4parser.ypp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ limitations under the License.
#include "lib/cstring.h"
#include "lib/source_file.h"

#ifdef __clang__
#pragma clang diagnostic ignored "-Wunused-but-set-variable"
#endif

namespace P4 {
class AbstractP4Lexer;
class P4ParserDriver;
Expand Down

0 comments on commit 2440123

Please sign in to comment.