diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-03 18:34:13 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-03 18:34:13 +0100 |
commit | fa519319f3c31f7ca63740c953c35dd4dc9e4b4a (patch) | |
tree | 6ef9ed18d2db6c3a989d81f65f84c999c4b5e602 /cdumb.c | |
parent | de5bcbefc5817688baa32f85d7940ea8f41ba6e8 (diff) |
compiler warning cleanup
Diffstat (limited to 'cdumb.c')
-rw-r--r-- | cdumb.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -193,7 +193,7 @@ static DUH * open_module(const char *fname, const char *ext, int *start_order, i *is_it = 0; *is_dos = 1; - char ptr[2000]; + uint8_t ptr[2000]; DB_FILE *fp = deadbeef->fopen (fname); if (!fp) { return NULL; @@ -722,9 +722,9 @@ static const char *convstr (const char* str, int sz) { } const char *enc = "iso8859-1"; +#if 0 int latin = 0; int rus = 0; -#if 0 for (int i = 0; i < sz; i++) { if ((str[i] >= 'A' && str[i] <= 'Z') || str[i] >= 'a' && str[i] <= 'z') { @@ -750,7 +750,7 @@ static const char *convstr (const char* str, int sz) { char *pin = (char*)str; char *pout = out; memset (out, 0, sizeof (out)); - size_t res = iconv (cd, &pin, &inbytesleft, &pout, &outbytesleft); + /*size_t res = */iconv (cd, &pin, &inbytesleft, &pout, &outbytesleft); iconv_close (cd); } return out; |