[libdazzle] binding-group: follow style guide
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] binding-group: follow style guide
- Date: Mon, 18 Dec 2017 00:53:46 +0000 (UTC)
commit e0b297d5d1e5c283a4095776b0dcdd1cbd423bdb
Author: Christian Hergert <chergert redhat com>
Date: Sun Dec 17 16:53:36 2017 -0800
binding-group: follow style guide
Which is to *always* assign auto locals to NULL.
src/bindings/dzl-binding-group.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/bindings/dzl-binding-group.c b/src/bindings/dzl-binding-group.c
index c1ff711..7d83cd2 100644
--- a/src/bindings/dzl-binding-group.c
+++ b/src/bindings/dzl-binding-group.c
@@ -119,7 +119,7 @@ dzl_binding_group_connect (DzlBindingGroup *self,
#ifdef DEBUG_BINDINGS
{
GFlagsClass *flags_class;
- g_autofree gchar *flags_str;
+ g_autofree gchar *flags_str = NULL;
flags_class = g_type_class_ref (G_TYPE_BINDING_FLAGS);
flags_str = _g_flags_to_string (flags_class,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]