[gnome-builder] libide: initialize match at declaration
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: initialize match at declaration
- Date: Mon, 23 Mar 2015 23:49:18 +0000 (UTC)
commit 972dcfe1389b8161b3a6e9422ee5c2d720217207
Author: Christian Hergert <christian hergert me>
Date: Mon Mar 2 14:49:26 2015 -0800
libide: initialize match at declaration
libide/c/ide-c-indenter.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/c/ide-c-indenter.c b/libide/c/ide-c-indenter.c
index 3d93164..1f5388c 100644
--- a/libide/c/ide-c-indenter.c
+++ b/libide/c/ide-c-indenter.c
@@ -261,7 +261,7 @@ backward_find_matching_char (GtkTextIter *iter,
gunichar ch)
{
GtkTextIter copy;
- gunichar match;
+ gunichar match = 0;
gunichar cur;
guint count = 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]