[glib: 6/10] Fix redefinition of local variable in gio/gtlscertificate.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 6/10] Fix redefinition of local variable in gio/gtlscertificate.c
- Date: Thu, 31 Mar 2022 23:36:39 +0000 (UTC)
commit 49d0c5a90b5b2a49437bb1e6ed3f3a4082866386
Author: Loic Le Page <llepage fluendo com>
Date: Wed Jan 19 18:51:40 2022 +0100
Fix redefinition of local variable in gio/gtlscertificate.c
gio/gtlscertificate.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gio/gtlscertificate.c b/gio/gtlscertificate.c
index d0a326b276..c4c8c2913e 100644
--- a/gio/gtlscertificate.c
+++ b/gio/gtlscertificate.c
@@ -571,13 +571,13 @@ parse_and_create_certificate_list (const gchar *data,
while (p < end && p && *p)
{
gchar *cert_pem;
- GError *error = NULL;
+ GError *my_error = NULL;
- cert_pem = parse_next_pem_certificate (&p, end, FALSE, &error);
- if (error)
+ cert_pem = parse_next_pem_certificate (&p, end, FALSE, &my_error);
+ if (my_error)
{
g_slist_free_full (pem_list, g_free);
- g_error_free (error);
+ g_error_free (my_error);
return first_pem_list;
}
else if (!cert_pem)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]