We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to compile cppformat in my project produces a compiler warning about an unused parameter.
Below is a quick fix. Alternatively you can do (void)values; in the function body.
diff --git a/format.h b/format.h index 9e68867..51ec420 100644 --- a/format.h +++ b/format.h @@ -1484,7 +1484,7 @@ inline void set_types(Value *, const Args & ...) { } template <typename Char, typename Value> -inline void store_args(Value *values) {} +inline void store_args(Value *) {} template <typename Char, typename Arg, typename T, typename... Args> inline void store_args(Arg *args, const T &arg, const Args & ... tail) {
The text was updated successfully, but these errors were encountered:
Fix compiler warnings about unused parameter (#158)
c150722
Thanks to @fmatthew5876
Should be fixed in c150722. Thanks!
Sorry, something went wrong.
No branches or pull requests
Trying to compile cppformat in my project produces a compiler warning about an unused parameter.
Below is a quick fix. Alternatively you can do (void)values; in the function body.
The text was updated successfully, but these errors were encountered: