[gimp] Fix some warnings
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Fix some warnings
- Date: Tue, 5 Jul 2011 20:09:27 +0000 (UTC)
commit 1c0115ec954215978531b374c33f4097a5d2d7df
Author: Martin Nordholts <martinn src gnome org>
Date: Tue Jul 5 17:39:41 2011 +0200
Fix some warnings
app/actions/file-commands.c | 2 +-
plug-ins/pygimp/pygimp-item.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/actions/file-commands.c b/app/actions/file-commands.c
index 9e75c70..93ee58c 100644
--- a/app/actions/file-commands.c
+++ b/app/actions/file-commands.c
@@ -286,7 +286,7 @@ file_save_cmd_callback (GtkAction *action,
case GIMP_SAVE_MODE_EXPORT_TO:
case GIMP_SAVE_MODE_OVERWRITE:
{
- const gchar *uri;
+ const gchar *uri = NULL;
GimpPlugInProcedure *export_proc;
if (save_mode == GIMP_SAVE_MODE_EXPORT_TO)
diff --git a/plug-ins/pygimp/pygimp-item.c b/plug-ins/pygimp/pygimp-item.c
index 9e4beeb..f698638 100644
--- a/plug-ins/pygimp/pygimp-item.c
+++ b/plug-ins/pygimp/pygimp-item.c
@@ -146,4 +146,4 @@ pygimp_item_new(gint32 ID)
return NULL;
return self;
-}
\ No newline at end of file
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]