# HG changeset patch # User Kim Alvefur # Date 1456684005 -3600 # Node ID 0a43b7ffa3af255979efa442931ed211e0fd4b8e # Parent 65e36b81d56af34ea58e53c27d3589218b0ac33b util.sasl.scram: Remove unused initial value [luacheck] diff -r 65e36b81d56a -r 0a43b7ffa3af util/sasl/scram.lua --- a/util/sasl/scram.lua Sun Feb 28 19:26:14 2016 +0100 +++ b/util/sasl/scram.lua Sun Feb 28 19:26:45 2016 +0100 @@ -163,7 +163,7 @@ salt = generate_uuid(); iteration_count = default_i; - local succ = false; + local succ; succ, stored_key, server_key = getAuthenticationDatabaseSHA1(password, salt, iteration_count); if not succ then log("error", "Generating authentication database failed. Reason: %s", stored_key);