mirror of
https://github.com/mt-mods/mail.git
synced 2025-04-30 08:21:44 -04:00
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:
parent
018e414b49
commit
53a4590fec
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue