Commit 2cebd47e authored by Davi Arnaut's avatar Davi Arnaut

Bug#45288: pb2 returns a lot of compilation warnings on linux

Tag unused arguments.

Approved by: Marko (via IRC)
parent d6204eca
...@@ -1138,9 +1138,12 @@ Tries to disable OS caching on an opened file descriptor. */ ...@@ -1138,9 +1138,12 @@ Tries to disable OS caching on an opened file descriptor. */
void void
os_file_set_nocache( os_file_set_nocache(
/*================*/ /*================*/
int fd, /* in: file descriptor to alter */ int fd /* in: file descriptor to alter */
const char* file_name, /* in: used in the diagnostic message */ __attribute__((unused)),
const char* operation_name) /* in: used in the diagnostic message, const char* file_name /* in: used in the diagnostic message */
__attribute__((unused)),
const char* operation_name __attribute__((unused)))
/* in: used in the diagnostic message,
we call os_file_set_nocache() we call os_file_set_nocache()
immediately after opening or creating immediately after opening or creating
a file, so this is either "open" or a file, so this is either "open" or
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment