[Groonga-commit] groonga/grnxx at ed9cbae [master] Suppress warnings for unused arguments in table.cpp.

Back to archive index

susumu.yata null+****@clear*****
Wed Sep 10 11:50:09 JST 2014


susumu.yata	2014-09-10 11:50:09 +0900 (Wed, 10 Sep 2014)

  New Revision: ed9cbae7ccfbea0f1edc74a293b0f19902882b04
  https://github.com/groonga/grnxx/commit/ed9cbae7ccfbea0f1edc74a293b0f19902882b04

  Message:
    Suppress warnings for unused arguments in table.cpp.

  Modified files:
    lib/grnxx/table.cpp

  Modified: lib/grnxx/table.cpp (+3 -3)
===================================================================
--- lib/grnxx/table.cpp    2014-09-10 11:31:35 +0900 (e5218fd)
+++ lib/grnxx/table.cpp    2014-09-10 11:50:09 +0900 (16ff5ed)
@@ -326,7 +326,7 @@ Column *Table::find_column(Error *error, String name) const {
   return nullptr;
 }
 
-bool Table::set_key_column(Error *error, String name) {
+bool Table::set_key_column(Error *error, String) {
   if (key_column_) {
     GRNXX_ERROR_SET(error, ALREADY_EXISTS, "Key column already exists");
     return false;
@@ -454,7 +454,7 @@ bool Table::test_row(Error *error, Int row_id) const {
   return true;
 }
 
-Int Table::find_row(Error *error, const Datum &key) const {
+Int Table::find_row(Error *error, const Datum &) const {
   if (!key_column_) {
     GRNXX_ERROR_SET(error, NO_KEY_COLUMN, "No key column");
     return NULL_ROW_ID;
@@ -472,7 +472,7 @@ unique_ptr<Cursor> Table::create_cursor(
 unique_ptr<Table> Table::create(Error *error,
                                 DB *db,
                                 String name,
-                                const TableOptions &options) {
+                                const TableOptions &) {
   unique_ptr<Table> table(new Table);
   table->db_ = db;
   if (!table->name_.assign(error, name)) {
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index