mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Bug#45288: pb2 returns a lot of compilation warnings on linux
Tag unused arguments. Approved by: Marko (via IRC)
This commit is contained in:
parent
183710558f
commit
8875c2c2e0
1 changed files with 6 additions and 3 deletions
|
@ -1138,9 +1138,12 @@ Tries to disable OS caching on an opened file descriptor. */
|
|||
void
|
||||
os_file_set_nocache(
|
||||
/*================*/
|
||||
int fd, /* in: file descriptor to alter */
|
||||
const char* file_name, /* in: used in the diagnostic message */
|
||||
const char* operation_name) /* in: used in the diagnostic message,
|
||||
int fd /* in: file descriptor to alter */
|
||||
__attribute__((unused)),
|
||||
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()
|
||||
immediately after opening or creating
|
||||
a file, so this is either "open" or
|
||||
|
|
Loading…
Reference in a new issue