opt: Silence unsed param warning triggered by -Wextra
The type checking function does not use its parameter: ccan/opt/opt.h: In function ‘_check_is_entry’: ccan/opt/opt.h:328:53: warning: unused parameter ‘e’ Annotate the function using UNUSED from compiler.h. This commit also adds compiler.h as a dependency for opt.
Showing
Please register or sign in to comment