[libcroco] Remove shadowing in cr_statement_media_rule_to_string()
- From: Руслан Ижбулатов <ruslanizhb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libcroco] Remove shadowing in cr_statement_media_rule_to_string()
- Date: Tue, 5 Aug 2014 11:45:32 +0000 (UTC)
commit 4a65fa0ace0a7eef9338a2bb1c4b57b74721830f
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Tue Aug 5 08:29:30 2014 +0000
Remove shadowing in cr_statement_media_rule_to_string()
https://bugzilla.gnome.org/show_bug.cgi?id=710076
src/cr-statement.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/cr-statement.c b/src/cr-statement.c
index cb9b11c..6adea1b 100644
--- a/src/cr-statement.c
+++ b/src/cr-statement.c
@@ -813,10 +813,10 @@ cr_statement_media_rule_to_string (CRStatement const *a_this,
for (cur = a_this->kind.media_rule->media_list; cur;
cur = cur->next) {
if (cur->data) {
- guchar *str = cr_string_dup2
+ gchar *str2 = cr_string_dup2
((CRString const *) cur->data);
- if (str) {
+ if (str2) {
if (cur->prev) {
g_string_append
(stringue,
@@ -824,9 +824,9 @@ cr_statement_media_rule_to_string (CRStatement const *a_this,
}
g_string_append_printf
(stringue,
- " %s", str);
- g_free (str);
- str = NULL;
+ " %s", str2);
+ g_free (str2);
+ str2 = NULL;
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]