[gnome-builder] Revert "fix some static analysis warnings"
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] Revert "fix some static analysis warnings"
- Date: Fri, 8 May 2015 18:25:00 +0000 (UTC)
commit 94f84297746c00a8e96d4deb4e008bcfb2d13125
Author: Christian Hergert <christian hergert me>
Date: Fri May 8 11:22:44 2015 -0700
Revert "fix some static analysis warnings"
This reverts commit a8bc71e7690283f5b415f096e01aaf39a52c57ca.
libide/clang/ide-clang-completion-provider.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libide/clang/ide-clang-completion-provider.c b/libide/clang/ide-clang-completion-provider.c
index b417ddb..d9cd3a8 100644
--- a/libide/clang/ide-clang-completion-provider.c
+++ b/libide/clang/ide-clang-completion-provider.c
@@ -220,8 +220,7 @@ ide_clang_completion_provider_complete_cb (GObject *object,
goto failure;
}
- if (self->last_results != NULL)
- g_ptr_array_free (self->last_results, TRUE);
+ g_ptr_array_free (self->last_results, TRUE);
self->last_results = g_ptr_array_ref (ar);
gtk_source_completion_context_get_iter (state->context, &iter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]