In both cases, the warning is about a function argument that we do not use. There's no benefit of doing a c++-style cast there, especially since they're function arguments. In fact, doing anything else would just make the code less readable. As such, we opt to ignore these warnings instead. Signed-off-by: Gergely Nagy <algernon@keyboard.io>pull/911/head
parent
b0586f3fc8
commit
e9d2fd9637
Loading…
Reference in new issue