aboutsummaryrefslogtreecommitdiffstats
path: root/lib/oauth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oauth2.c')
-rw-r--r--lib/oauth2.c2
1 files changed, 1 insertions, 1 deletions
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 )