From 761572639774ee1642229a24c625a569ef4ab48c Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 4 Jan 2012 00:01:51 +0000 Subject: Fixing one compiler warning that shouldn't indicate any real problem (only causes unpredictable behaviour on wrongly formatted JSON input). --- lib/oauth2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oauth2.c') diff --git a/lib/oauth2.c b/lib/oauth2.c index 1af63974..87965d04 100644 --- a/lib/oauth2.c +++ b/lib/oauth2.c @@ -143,7 +143,7 @@ static void oauth2_access_token_done( struct http_request *req ) work for integer values, nor will it strip/handle backslashes. */ static char *oauth2_json_dumb_get( const char *json, const char *key ) { - int is_key; /* 1 == reading key, 0 == reading value */ + int is_key = 0; /* 1 == reading key, 0 == reading value */ int found_key = 0; while( json && *json ) -- cgit v1.2.3