From c8270831ec8c8d954827eefdb133c5c1940e8a34 Mon Sep 17 00:00:00 2001 From: Nadav Har'El Date: Tue, 21 May 2019 15:43:17 +0300 Subject: [PATCH] alternator: remove two unused lines of code These lines of codes were superfluous and their result unused: the make_item_mutation() function finds the pk and ck on its own. Signed-off-by: Nadav Har'El --- alternator/executor.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/alternator/executor.cc b/alternator/executor.cc index bc5d023204..376872c265 100644 --- a/alternator/executor.cc +++ b/alternator/executor.cc @@ -350,8 +350,6 @@ future executor::put_item(std::string content) { schema_ptr schema = get_table(_proxy, update_info); const Json::Value& item = update_info["Item"]; - partition_key pk = pk_from_json(item, schema); - clustering_key ck = ck_from_json(item, schema); mutation m = make_item_mutation(item, schema);