grosjo / fts-xapian

Dovecot FTS plugin based on Xapian
GNU Lesser General Public License v2.1
97 stars 21 forks source link

fix warnings #120

Closed symphorien closed 2 years ago

symphorien commented 2 years ago
fts-backend-xapian.cpp: In function 'int fts_backend_xapian_optimize_callback(void*, int, char**, char**)':
fts-backend-xapian.cpp:482:65: warning: unused parameter 'argc' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parameter-Wunused-parameter8;;]
  482 | static int fts_backend_xapian_optimize_callback(void *data, int argc, char **argv, char **azColName)
      |                                                             ~~~~^~~~
fts-backend-xapian.cpp:482:91: warning: unused parameter 'azColName' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parameter-Wunused-parameter8;;]
  482 | static int fts_backend_xapian_optimize_callback(void *data, int argc, char **argv, char **azColName)
      |                                                                                    ~~~~~~~^~~~~~~~~