Fix compile warnings on CURL binding

This commit is contained in:
Joshua Granick
2014-12-28 11:05:24 -08:00
parent 83e92a25b2
commit 01a1c6ca3a
2 changed files with 13 additions and 2 deletions

View File

@@ -105,6 +105,12 @@ namespace lime {
// todo
break;
case CURLINFO_NONE:
case CURLINFO_LASTONE:
// ignore
break;
}
@@ -468,7 +474,7 @@ namespace lime {
}
case CURLOPT_HTTPHEADER:
{
struct curl_slist *chunk = NULL;
int size = val_array_size (parameter);
@@ -480,6 +486,11 @@ namespace lime {
code = curl_easy_setopt (curl, type, chunk);
break;
}
default:
break;
}