[dia] [warningectomy] format not a string literal and no format arguments



commit 6be48baa3c5d892b39c1ecfdef0be0d6c9df2719
Author: Hans Breuer <hans breuer org>
Date:   Sat May 4 15:23:42 2013 +0200

    [warningectomy] format not a string literal and no format arguments

 app/commands.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/commands.c b/app/commands.c
index 88868eb..4d3d166 100644
--- a/app/commands.c
+++ b/app/commands.c
@@ -447,7 +447,7 @@ _clipboard_get_data_callback (GtkClipboard     *clipboard,
     ef = filter_guess_export_filter (outfname);
     close (fd);
   } else {
-    g_warning (error->message);
+    g_warning ("%s", error->message);
     g_error_free (error);
     error = NULL;
   }


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