From 62ab834e8a1ea7c6001623239990e42aaeee1e76 Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Tue, 20 Sep 2016 21:04:10 +0300 Subject: [PATCH] Remove unused variables from readwritesplit There were some unused variables in readwritesplit that caused builds to fail. --- server/modules/routing/readwritesplit/rwsplit_route_stmt.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/modules/routing/readwritesplit/rwsplit_route_stmt.c b/server/modules/routing/readwritesplit/rwsplit_route_stmt.c index 247c52064..f8ca27c4d 100644 --- a/server/modules/routing/readwritesplit/rwsplit_route_stmt.c +++ b/server/modules/routing/readwritesplit/rwsplit_route_stmt.c @@ -927,9 +927,6 @@ handle_multi_temp_and_load(ROUTER_CLIENT_SES *rses, GWBUF *querybuf, */ if (rses->have_tmp_tables) { - rses_property_t *rses_prop_tmp; - - rses_prop_tmp = rses->rses_properties[RSES_PROP_TYPE_TMPTABLES]; check_drop_tmp_table(rses, querybuf, packet_type); if (is_packet_a_query(packet_type)) {