Do not give an initial value to candidate_uuid

Triggers luacheck because the blank value is unused. Just give it nil value.
This commit is contained in:
Athozus 2024-03-30 22:00:45 +01:00
parent 018e414b49
commit 53a4590fec
No known key found for this signature in database
GPG key ID: B50895022E8484BF

View file

@ -27,7 +27,7 @@ end
function mail.new_uuid() function mail.new_uuid()
local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'
local candidate_uuid = "" local candidate_uuid
repeat repeat
candidate_uuid = string.gsub(template, '[xy]', candidate_uuid = string.gsub(template, '[xy]',
function (c) function (c)