susumu.yata
null+****@clear*****
Wed Sep 10 11:52:12 JST 2014
susumu.yata 2014-09-10 11:52:12 +0900 (Wed, 10 Sep 2014) New Revision: bceb877184a7741fc77942fcd77ad9ec34b4f72a https://github.com/groonga/grnxx/commit/bceb877184a7741fc77942fcd77ad9ec34b4f72a Message: Suppress warnings for unused arguments in db.cpp. Modified files: lib/grnxx/db.cpp Modified: lib/grnxx/db.cpp (+4 -4) =================================================================== --- lib/grnxx/db.cpp 2014-09-10 11:50:54 +0900 (4fb44ce) +++ lib/grnxx/db.cpp 2014-09-10 11:52:12 +0900 (955d18a) @@ -102,8 +102,8 @@ Table *DB::find_table(Error *error, String name) const { } bool DB::save(Error *error, - String path, - const DBOptions &options) const { + String, + const DBOptions &) const { // TODO: Named DB is not supported yet. GRNXX_ERROR_SET(error, NOT_SUPPORTED_YET, "Not supported yet"); return false; @@ -129,7 +129,7 @@ Table *DB::find_table_with_id(Error *error, unique_ptr<DB> open_db(Error *error, String path, - const DBOptions &options) { + const DBOptions &) { if (path.size() != 0) { // TODO: Named DB is not supported yet. GRNXX_ERROR_SET(error, NOT_SUPPORTED_YET, "Not supported yet"); @@ -143,7 +143,7 @@ unique_ptr<DB> open_db(Error *error, return db; } -bool remove_db(Error *error, String path, const DBOptions &options) { +bool remove_db(Error *error, String, const DBOptions &) { // TODO: Named DB is not supported yet. GRNXX_ERROR_SET(error, NOT_SUPPORTED_YET, "Not supported yet"); return false; -------------- next part -------------- HTML����������������������������... 下載