[gnome-builder] buffer: allow null when clearing
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] buffer: allow null when clearing
- Date: Tue, 12 Jun 2018 04:28:34 +0000 (UTC)
commit 7084e52013515d0f8fa578e8b083c43d4048f954
Author: Christian Hergert <chergert redhat com>
Date: Mon Jun 11 21:27:16 2018 -0700
buffer: allow null when clearing
src/libide/buffers/ide-buffer.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/libide/buffers/ide-buffer.c b/src/libide/buffers/ide-buffer.c
index 3cc62c1b9..2bb237eb9 100644
--- a/src/libide/buffers/ide-buffer.c
+++ b/src/libide/buffers/ide-buffer.c
@@ -555,7 +555,6 @@ ide_buffer_set_diagnostics (IdeBuffer *self,
g_assert (IDE_IS_MAIN_THREAD ());
g_assert (IDE_IS_BUFFER (self));
- g_assert (diagnostics != NULL);
if (diagnostics != priv->diagnostics)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]