--- parser3/src/classes/table.C 2015/08/04 21:10:17 1.310 +++ parser3/src/classes/table.C 2016/03/31 21:46:20 1.313 @@ -1,7 +1,7 @@ /** @file Parser: @b table parser class. - Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ @@ -22,7 +22,7 @@ #define USE_STRINGSTREAM #endif -volatile const char * IDENT_TABLE_C="$Id: table.C,v 1.310 2015/08/04 21:10:17 moko Exp $"; +volatile const char * IDENT_TABLE_C="$Id: table.C,v 1.313 2016/03/31 21:46:20 moko Exp $"; // class @@ -35,7 +35,7 @@ public: // global variable -DECLARE_CLASS_VAR(table, new MTable, 0); +DECLARE_CLASS_VAR(table, new MTable); #define TABLE_REVERSE_NAME "reverse" @@ -1186,7 +1186,7 @@ static void _insert(Request& r, MethodPa } } -static void _delete(Request& r, MethodParams& params) { +static void _delete(Request& r, MethodParams&) { Table& table=GET_SELF(r, VTable).table(); table.remove_current(); }