diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2012-01-04 00:01:51 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2012-01-04 00:01:51 +0000 |
commit | 761572639774ee1642229a24c625a569ef4ab48c (patch) | |
tree | 6486d6ee8fe611a8f0754898906ca56e32268542 /lib/oauth2.c | |
parent | 59c03bd147dfaf5b849d2e68397cb63adf6146b5 (diff) |
Fixing one compiler warning that shouldn't indicate any real problem (only
causes unpredictable behaviour on wrongly formatted JSON input).
Diffstat (limited to 'lib/oauth2.c')
-rw-r--r-- | lib/oauth2.c | 2 |
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 ) |