diff options
author | Davi Arnaut <davi.arnaut@oracle.com> | 2010-10-19 12:09:28 -0200 |
---|---|---|
committer | Davi Arnaut <davi.arnaut@oracle.com> | 2010-10-19 12:09:28 -0200 |
commit | 8875c2c2e05253098d44b524976619dbe1e3bfb2 (patch) | |
tree | 408971c83e3f2ce205db30feffb6f0519eae5d23 /storage/innobase | |
parent | 183710558f78bb2fa55640ef1f0d2e087355240e (diff) | |
download | mariadb-git-8875c2c2e05253098d44b524976619dbe1e3bfb2.tar.gz |
Bug#45288: pb2 returns a lot of compilation warnings on linux
Tag unused arguments.
Approved by: Marko (via IRC)
Diffstat (limited to 'storage/innobase')
-rw-r--r-- | storage/innobase/os/os0file.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/storage/innobase/os/os0file.c b/storage/innobase/os/os0file.c index a995aee5fab..f269cd39673 100644 --- a/storage/innobase/os/os0file.c +++ b/storage/innobase/os/os0file.c @@ -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 |