aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/examples/getinmemory.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/examples/getinmemory.c b/docs/examples/getinmemory.c
index 3304a1dbd..afd6e3f03 100644
--- a/docs/examples/getinmemory.c
+++ b/docs/examples/getinmemory.c
@@ -44,8 +44,7 @@ WriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void *data)
int main(int argc, char **argv)
{
- CURL *curl;
- CURLcode res;
+ CURL *curl_handle;
struct MemoryStruct chunk;