Closed
Description
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) {
Metadata
Metadata
Assignees
Labels
No labels