diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2022-07-27 11:44:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-27 11:44:39 -0400 |
| commit | d335feeff824b3313864096e8cefc5fbcb1df10f (patch) | |
| tree | 1153c28aac9922cd3bf15b9606c263007c176797 /tools/gcc-plugins/frr-format.c | |
| parent | 528d3d87bf1a4fe201bd07c1e83d39637c62417b (diff) | |
| parent | 3d3ed1afb2cff65f0986ae6b9bc69f9ae1b372e1 (diff) | |
Merge pull request #11682 from opensourcerouting/frr-format-gcc-12
tools/gcc-plugins: make GCC 12 compatible
Diffstat (limited to 'tools/gcc-plugins/frr-format.c')
| -rw-r--r-- | tools/gcc-plugins/frr-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gcc-plugins/frr-format.c b/tools/gcc-plugins/frr-format.c index e9f397f225..0a24b091a3 100644 --- a/tools/gcc-plugins/frr-format.c +++ b/tools/gcc-plugins/frr-format.c @@ -1042,7 +1042,7 @@ check_format_info (function_format_info *info, tree params, format_ctx.arglocs = arglocs; check_function_arguments_recurse (check_format_arg, &format_ctx, - format_tree, arg_num); + format_tree, arg_num, OPT_Wformat_); location_t loc = format_ctx.res->format_string_loc; |
