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

Tag unused arguments.
      
Approved by: Marko (via IRC)
This commit is contained in:
Davi Arnaut 2010-10-19 12:12:43 -02:00
parent 8875c2c2e0
commit be170c213f

View File

@ -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 */