summaryrefslogtreecommitdiff
path: root/plugins/vfs_curl
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-03 18:34:13 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-03 18:34:13 +0100
commitfa519319f3c31f7ca63740c953c35dd4dc9e4b4a (patch)
tree6ef9ed18d2db6c3a989d81f65f84c999c4b5e602 /plugins/vfs_curl
parentde5bcbefc5817688baa32f85d7940ea8f41ba6e8 (diff)
compiler warning cleanup
Diffstat (limited to 'plugins/vfs_curl')
-rw-r--r--plugins/vfs_curl/vfs_curl.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/vfs_curl/vfs_curl.c b/plugins/vfs_curl/vfs_curl.c
index 6e1611f2..3185df67 100644
--- a/plugins/vfs_curl/vfs_curl.c
+++ b/plugins/vfs_curl/vfs_curl.c
@@ -273,7 +273,6 @@ http_content_header_handler (void *ptr, size_t size, size_t nmemb, void *stream)
trace ("http_content_header_handler\n");
assert (stream);
HTTP_FILE *fp = (HTTP_FILE *)stream;
- const uint8_t c_type_str[] ="Content-Type:";
const uint8_t *p = ptr;
const uint8_t *end = p + size*nmemb;
uint8_t key[256];
@@ -314,10 +313,10 @@ http_content_header_handler (void *ptr, size_t size, size_t nmemb, void *stream)
return size * nmemb;
}
-static size_t
-http_curl_write_abort (void *ptr, size_t size, size_t nmemb, void *stream) {
- return 0;
-}
+//static size_t
+//http_curl_write_abort (void *ptr, size_t size, size_t nmemb, void *stream) {
+// return 0;
+//}
static int
http_curl_control (void *stream, double dltotal, double dlnow, double ultotal, double ulnow) {
@@ -679,6 +678,7 @@ http_get_content_name (DB_FILE *stream) {
return fp->content_name;
}
+#if 0
static const char *
http_get_content_genre (DB_FILE *stream) {
trace ("http_get_content_genre\n");
@@ -699,6 +699,7 @@ http_get_content_genre (DB_FILE *stream) {
}
return fp->content_genre;
}
+#endif
static void
http_stop (DB_FILE *stream) {