susumu.yata
null+****@clear*****
Wed Sep 10 11:31:35 JST 2014
susumu.yata 2014-09-10 11:31:35 +0900 (Wed, 10 Sep 2014) New Revision: 46f4acf0065459bf16682181f2f7774a1bef82bd https://github.com/groonga/grnxx/commit/46f4acf0065459bf16682181f2f7774a1bef82bd Message: Suppress warnings for unused arguments in column.cpp. Modified files: lib/grnxx/column.cpp Modified: lib/grnxx/column.cpp (+5 -4) =================================================================== --- lib/grnxx/column.cpp 2014-09-10 11:27:34 +0900 (2c6d131) +++ lib/grnxx/column.cpp 2014-09-10 11:31:35 +0900 (c75e9c8) @@ -102,22 +102,23 @@ Index *Column::find_index(Error *error, String name) const { return indexes_[index_id].get(); } } + GRNXX_ERROR_SET(error, NOT_FOUND, "Index not found"); return nullptr; } -bool Column::set(Error *error, Int row_id, const Datum &datum) { +bool Column::set(Error *error, Int, const Datum &) { GRNXX_ERROR_SET(error, NOT_SUPPORTED_YET, "Not suported yet"); return false; } -bool Column::get(Error *error, Int row_id, Datum *datum) const { +bool Column::get(Error *error, Int, Datum *) const { GRNXX_ERROR_SET(error, NOT_SUPPORTED_YET, "Not suported yet"); return false; } unique_ptr<Cursor> Column::create_cursor( Error *error, - const CursorOptions &options) const { + const CursorOptions &) const { // TODO: Cursor is not supported yet. GRNXX_ERROR_SET(error, NOT_SUPPORTED_YET, "Not suported yet"); return nullptr; @@ -205,7 +206,7 @@ bool Column::is_removable() { return true; } -bool Column::set_initial_key(Error *error, Int row_id, const Datum &key) { +bool Column::set_initial_key(Error *error, Int, const Datum &) { // TODO: Key column is not supported yet. GRNXX_ERROR_SET(error, NOT_SUPPORTED_YET, "Not suported yet"); return false; -------------- next part -------------- HTML����������������������������... Download