diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-11-05 21:03:49 +0100 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-11-05 21:03:49 +0100 |
commit | c73999534098d4a660b6b0863eeec565edea22f8 (patch) | |
tree | 31ed75f227d588c81d56f6f975bfa92b8ae82638 /plugins/ao | |
parent | a98476f7163c1f6e0aea295a2c2c5374d4b18908 (diff) |
gcc warning fixes
Diffstat (limited to 'plugins/ao')
-rw-r--r-- | plugins/ao/plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ao/plugin.c b/plugins/ao/plugin.c index 46faec6b..d997c759 100644 --- a/plugins/ao/plugin.c +++ b/plugins/ao/plugin.c @@ -186,21 +186,21 @@ aoplug_seek (DB_fileinfo_t *_info, float time) { static void aoplug_add_meta (DB_playItem_t *it, const char *key, const char *value, const char *comment_title) { - const char *res = NULL; +// const char *res = NULL; char tmp[200]; // check utf8 if (deadbeef->junk_recode (value, strlen (value), tmp, sizeof (tmp), "utf-8") >= 0) { if (key) { deadbeef->pl_add_meta (it, key, value); } - res = value; +// res = value; } // check shift-jis if (deadbeef->junk_recode (value, strlen (value), tmp, sizeof (tmp), "SHIFT-JIS") >= 0) { if (key) { deadbeef->pl_add_meta (it, key, tmp); } - res = tmp; +// res = tmp; } // if (res) { |