From 5d208fe45e326b2c6ac3f57be795f5cd4f37b051 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 5 Sep 2017 15:57:20 +0100 Subject: [PATCH] Remove unused variables --- .../clientapi/auth/storage/accounts/account_data_table.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/account_data_table.go b/src/github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/account_data_table.go index 0c1fc0ff9..27ca5b610 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/account_data_table.go +++ b/src/github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/account_data_table.go @@ -47,9 +47,6 @@ const selectAccountDataSQL = "" + const selectAccountDataByTypeSQL = "" + "SELECT content FROM account_data WHERE localpart = $1 AND room_id = $2 AND type = $3" -const deleteAccountDataSQL = "" + - "DELETE FROM account_data WHERE localpart = $1 AND room_id = $2 AND type = $3" - type accountDataStatements struct { insertAccountDataStmt *sql.Stmt selectAccountDataStmt *sql.Stmt