diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-06-10 15:02:34 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-06-10 15:02:34 +0200 |
commit | f2d250a78f793f959051dbb2c377a9932b319bb7 (patch) | |
tree | 13113fff87a705282e71c81e4d87bbf8a512d9c0 /src/core | |
parent | ad9c75f234c6ce61f3134ea2234e54d46df9df52 (diff) | |
download | weechat-f2d250a78f793f959051dbb2c377a9932b319bb7.zip |
core: remove unused function upgrade_file_read_string_utf8 (issue #1012)
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-upgrade-file.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/core/wee-upgrade-file.c b/src/core/wee-upgrade-file.c index f20f4b923..89694c8f6 100644 --- a/src/core/wee-upgrade-file.c +++ b/src/core/wee-upgrade-file.c @@ -489,27 +489,6 @@ upgrade_file_read_string (struct t_upgrade_file *upgrade_file, char **string) } /* - * Reads an UTF-8 string in upgrade file (reads a string then normalizes it). - * - * Returns: - * 1: OK - * 0: error - */ - -int -upgrade_file_read_string_utf8 (struct t_upgrade_file *upgrade_file, - char **string) -{ - if (!upgrade_file_read_string (upgrade_file, string)) - return 0; - - if (string && *string) - utf8_normalize (*string, '?'); - - return 1; -} - -/* * Reads a buffer in upgrade file. * * Returns: |