this might actually compile too...
diff --git a/docs/examples/getinmemory.c b/docs/examples/getinmemory.c
index 3304a1d..afd6e3f 100644
--- a/docs/examples/getinmemory.c
+++ b/docs/examples/getinmemory.c
@@ -44,8 +44,7 @@
 
 int main(int argc, char **argv)
 {
-  CURL *curl;
-  CURLcode res;
+  CURL *curl_handle;
 
   struct MemoryStruct chunk;