diff options
author | Davi Arnaut <davi.arnaut@oracle.com> | 2010-10-19 12:12:43 -0200 |
---|---|---|
committer | Davi Arnaut <davi.arnaut@oracle.com> | 2010-10-19 12:12:43 -0200 |
commit | 162dd50668acfed258b2650fec8dab519a11713f (patch) | |
tree | c4291d54b41fa2c01f2f7b62f95d4e0f041979ea /storage | |
parent | 2cebd47e2062d30e431d3208c3923ff83dbaa974 (diff) | |
download | mariadb-git-162dd50668acfed258b2650fec8dab519a11713f.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')
-rw-r--r-- | storage/innodb_plugin/os/os0file.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/storage/innodb_plugin/os/os0file.c b/storage/innodb_plugin/os/os0file.c index 6a0d6ea5363..14b2fce43c3 100644 --- a/storage/innodb_plugin/os/os0file.c +++ b/storage/innodb_plugin/os/os0file.c @@ -1182,10 +1182,12 @@ UNIV_INTERN void os_file_set_nocache( /*================*/ - int fd, /*!< in: file descriptor to alter */ - const char* file_name, /*!< in: file name, used in the - diagnostic message */ - const char* operation_name) /*!< in: "open" or "create"; used in the + 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: "open" or "create"; used in the diagnostic message */ { /* some versions of Solaris may not have DIRECTIO_ON */ |