Software /
code /
prosody
Changeset
10530:67d56dacc79c
core.modulemanager: Silence warning about unused err variable [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 20 Dec 2019 22:38:45 +0100 |
parents | 10529:854586ac7c96 |
children | 10531:810abf34919a |
files | core/modulemanager.lua |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/modulemanager.lua Fri Dec 20 22:33:24 2019 +0100 +++ b/core/modulemanager.lua Fri Dec 20 22:38:45 2019 +0100 @@ -246,7 +246,8 @@ local saved; if module_has_method(mod, "save") then - local ok, ret, err = call_module_method(mod, "save"); + -- FIXME What goes in 'err' here? + local ok, ret, err = call_module_method(mod, "save"); -- luacheck: ignore 211/err if ok then saved = ret; else