diff options
author | Badlop <badlop@process-one.net> | 2015-03-27 15:55:57 +0100 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2015-03-27 15:55:57 +0100 |
commit | 176114d28eca29d7b25ffd11b5f73a599a4460e4 (patch) | |
tree | 69095965d560c12796f31a3a3dd586cf73469ca4 /src/translate.erl | |
parent | Ensure set_presence changes are kept in state (thanks to Davide Colombo)(EJAB... (diff) |
Try to fix more Dialyzer warnings
Diffstat (limited to 'src/translate.erl')
-rw-r--r-- | src/translate.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/translate.erl b/src/translate.erl index 9e48e0b7a..277dfa445 100644 --- a/src/translate.erl +++ b/src/translate.erl @@ -81,7 +81,7 @@ load_file(Lang, File) -> io:setopts(Fd, [{encoding,latin1}]), load_file_loop(Fd, 1, File, Lang), file:close(Fd); - Error -> + {error, Error} -> ExitText = iolist_to_binary([File, ": ", file:format_error(Error)]), ?ERROR_MSG("Problem loading translation file ~n~s", |