summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/ao/plugin.c6
-rw-r--r--plugins/converter/converter.c2
2 files changed, 4 insertions, 4 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) {
diff --git a/plugins/converter/converter.c b/plugins/converter/converter.c
index 5a7b2e6f..17be3036 100644
--- a/plugins/converter/converter.c
+++ b/plugins/converter/converter.c
@@ -849,7 +849,7 @@ convert (DB_playItem_t *it, const char *out, int output_bps, int output_is_float
tmp = "/tmp";
}
snprintf (input_file_name, sizeof (input_file_name), "%s/ddbconvXXXXXX", tmp);
- mktemp (input_file_name);
+ char *res = mktemp (input_file_name);
strcat (input_file_name, ".wav");
}
else {