diff options
author | Kim Alvefur <zash@zash.se> | 2019-12-23 21:01:55 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-12-23 21:01:55 +0100 |
commit | 392f6fec79929be9bd303543649872baaafda756 (patch) | |
tree | 809debf66647437424defe8b5b684c94cd287441 /util | |
parent | 802fa58a2981bb53bad384092c8dbb11b6d3a98c (diff) | |
download | prosody-392f6fec79929be9bd303543649872baaafda756.tar.gz prosody-392f6fec79929be9bd303543649872baaafda756.zip |
util.datamanager: Ignore unused 'errno' variable [luacheck]
Diffstat (limited to 'util')
-rw-r--r-- | util/datamanager.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua index b52c77fa..1c578fee 100644 --- a/util/datamanager.lua +++ b/util/datamanager.lua @@ -157,7 +157,8 @@ end local function atomic_store(filename, data) local scratch = filename.."~"; - local f, ok, msg, errno; + local f, ok, msg, errno; -- luacheck: ignore errno + -- TODO return util.error with code=errno? f, msg, errno = io_open(scratch, "w"); if not f then |