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 | 0bbfb60aaead427610dc593d646c906387af3468 (patch) | |
tree | 809debf66647437424defe8b5b684c94cd287441 | |
parent | 3f89e9373b5978f18bed6b62bc1dceb3887364d8 (diff) | |
download | prosody-0bbfb60aaead427610dc593d646c906387af3468.tar.gz prosody-0bbfb60aaead427610dc593d646c906387af3468.zip |
util.datamanager: Ignore unused 'errno' variable [luacheck]
-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 |