[gnome-builder] cursor: always initialize to NULL
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] cursor: always initialize to NULL
- Date: Mon, 8 May 2017 21:49:01 +0000 (UTC)
commit dbc8274b221e6c047843f72c157d244d5a7b5194
Author: Christian Hergert <chergert redhat com>
Date: Mon May 8 14:48:26 2017 -0700
cursor: always initialize to NULL
Fixes CID 168949.
libide/sourceview/ide-cursor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/sourceview/ide-cursor.c b/libide/sourceview/ide-cursor.c
index f794f95..ebbd82c 100644
--- a/libide/sourceview/ide-cursor.c
+++ b/libide/sourceview/ide-cursor.c
@@ -74,7 +74,7 @@ static void
ide_cursor_dispose (GObject *object)
{
IdeCursor *self = (IdeCursor *)object;
- GtkTextBuffer *buffer;
+ GtkTextBuffer *buffer = NULL;
g_return_if_fail (IDE_IS_CURSOR (self));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]