fix compile warnings
This commit is contained in:
		| @ -216,7 +216,9 @@ int parse_sql_stmt(ParseResult* parse_result) | ||||
|   return ret; | ||||
| } | ||||
|  | ||||
| void setup_token_pos_info(ParseNode* node, int off, int len) | ||||
| void setup_token_pos_info(ParseNode *node __attribute__((unused)),  | ||||
|                           int off __attribute__((unused)),  | ||||
|                           int len __attribute__((unused))) | ||||
| { | ||||
| #ifdef SQL_PARSER_COMPILATION | ||||
|   node->token_off_ = off; | ||||
| @ -226,7 +228,10 @@ void setup_token_pos_info(ParseNode* node, int off, int len) | ||||
| #endif | ||||
| } | ||||
|  | ||||
| int setup_token_pos_info_and_dup_string(ParseNode* node, ParseResult* result, int start, int end) | ||||
| int setup_token_pos_info_and_dup_string(ParseNode *node __attribute__((unused)), | ||||
|                                         ParseResult *result __attribute__((unused)), | ||||
|                                         int start __attribute__((unused)), | ||||
|                                         int end __attribute__((unused))) | ||||
| { | ||||
|   int ret = OB_PARSER_SUCCESS; | ||||
| #ifdef SQL_PARSER_COMPILATION | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 gm
					gm