diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2014-08-05 08:31:31 +0000 |
---|---|---|
committer | Руслан Ижбулатов <lrn1986@gmail.com> | 2014-08-05 11:45:05 +0000 |
commit | 2e56f962c28929223b779b144b89a704086729fc (patch) | |
tree | 0d98f28e7edcfd2bb732e760d1d56f572aee6188 /src | |
parent | 4a65fa0ace0a7eef9338a2bb1c4b57b74721830f (diff) | |
download | libcroco-2e56f962c28929223b779b144b89a704086729fc.tar.gz |
Remove shadowing from cr_tknzr_get_next_token()
https://bugzilla.gnome.org/show_bug.cgi?id=710076
Diffstat (limited to 'src')
-rw-r--r-- | src/cr-tknzr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cr-tknzr.c b/src/cr-tknzr.c index 6512c98..dba30de 100644 --- a/src/cr-tknzr.c +++ b/src/cr-tknzr.c @@ -2100,15 +2100,15 @@ cr_tknzr_get_next_token (CRTknzr * a_this, CRToken ** a_tk) if (BYTE (input, 2, NULL) == 'r' && BYTE (input, 3, NULL) == 'l' && BYTE (input, 4, NULL) == '(') { - CRString *str = NULL; + CRString *str2 = NULL; - status = cr_tknzr_parse_uri (a_this, &str); + status = cr_tknzr_parse_uri (a_this, &str2); if (status == CR_OK) { - status = cr_token_set_uri (token, str); + status = cr_token_set_uri (token, str2); CHECK_PARSING_STATUS (status, TRUE); - if (str) { + if (str2) { cr_parsing_location_copy (&token->location, - &str->location) ; + &str2->location) ; } goto done; } |