[gnome-builder] libide: Fix non-literal format string warnings for clang



commit 059b17955e91cbd3e3b9b4ff946493f6883de98b
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Sun May 22 14:43:47 2016 +0800

    libide: Fix non-literal format string warnings for clang
    
    This commit also makes the function static, as it should be.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=766761

 libide/ide-build-result.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-build-result.c b/libide/ide-build-result.c
index 5d4368c..676c0f8 100644
--- a/libide/ide-build-result.c
+++ b/libide/ide-build-result.c
@@ -107,7 +107,7 @@ _ide_build_result_open_log (IdeBuildResult  *self,
   return FALSE;
 }
 
-void
+G_GNUC_PRINTF (6, 0) static void
 _ide_build_result_log (IdeBuildResult    *self,
                        GSource           *source,
                        GAsyncQueue       *queue,


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