fix: don't trigger -Wunused-parameter in flagcheck.cpp. (#2735)

... by leaving the unused parameters anonymous.

(This can be checked e.g. by compiling python_example with -Wall
-Wextra.)
1 file changed