[gnome-builder] lsp: fix incorrect assertion



commit c11237f1d7b50966a58cecaf1ef2dde91171c1f1
Author: Christian Hergert <chergert redhat com>
Date:   Tue Jan 22 12:38:29 2019 -0800

    lsp: fix incorrect assertion
    
    Fixes #776

 src/libide/lsp/ide-lsp-diagnostic-provider.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/libide/lsp/ide-lsp-diagnostic-provider.c b/src/libide/lsp/ide-lsp-diagnostic-provider.c
index 3dfeb5ce2..190d53553 100644
--- a/src/libide/lsp/ide-lsp-diagnostic-provider.c
+++ b/src/libide/lsp/ide-lsp-diagnostic-provider.c
@@ -85,7 +85,6 @@ ide_lsp_diagnostic_provider_diagnose_async (IdeDiagnosticProvider *provider,
 
   g_assert (IDE_IS_LSP_DIAGNOSTIC_PROVIDER (self));
   g_assert (G_IS_FILE (file));
-  g_assert (content != NULL);
   g_assert (!cancellable || G_IS_CANCELLABLE (cancellable));
 
   task = ide_task_new (self, cancellable, callback, user_data);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]