[gnome-builder] diagnostics: remove dead code
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] diagnostics: remove dead code
- Date: Sat, 12 Nov 2016 19:55:16 +0000 (UTC)
commit d2ac4516e3363f380537dc8d98eec4a8949d6d4e
Author: Christian Hergert <chergert redhat com>
Date: Sat Nov 12 11:55:08 2016 -0800
diagnostics: remove dead code
libide/diagnostics/ide-diagnostics-manager.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/libide/diagnostics/ide-diagnostics-manager.c b/libide/diagnostics/ide-diagnostics-manager.c
index a078889..60b641c 100644
--- a/libide/diagnostics/ide-diagnostics-manager.c
+++ b/libide/diagnostics/ide-diagnostics-manager.c
@@ -868,15 +868,10 @@ ide_diagnostics_manager_buffer_notify_language (IdeDiagnosticsManager *self,
if (language != NULL)
language_id = gtk_source_language_get_id (language);
group = ide_diagnostics_manager_find_group_from_buffer (self, buffer);
- IdeFile *ifile;
- GFile *gfile;
g_assert (IDE_IS_DIAGNOSTICS_MANAGER (self));
g_assert (IDE_IS_BUFFER (buffer));
- ifile = ide_buffer_get_file (buffer);
- gfile = ide_file_get_file (ifile);
-
if (group->adapter != NULL)
ide_extension_set_adapter_set_value (group->adapter, language_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]