Commit 504de82
mbop: cure instances of -Wformat-security compiler warning
```
tools/mbop.hpp: In instantiation of ‘int mbop_fprintf(Args&& ...) [with Args = {_IO_FILE*&, const char (&)[19]}]’:
tools/mbop_main.cpp:268:17: required from here
268 | mbop_fprintf(stderr, "Property is unset\n");
tools/mbop.hpp:38:23: warning: format not a string literal and no format arguments [-Wformat-security]
38 | return fprintf(std::forward<Args>(args)...);
```1 parent 231eeda commit 504de82
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
| |||
0 commit comments