[dia] [warningectomy] no return statement in function returning non-void
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [warningectomy] no return statement in function returning non-void
- Date: Fri, 5 Sep 2014 15:49:01 +0000 (UTC)
commit 010b717e861cbba471e2c555e8c3b4d0f9fea6cd
Author: Hans Breuer <hans breuer org>
Date: Fri Sep 5 16:05:54 2014 +0200
[warningectomy] no return statement in function returning non-void
export_png.c: In function 'export_png':
export_png.c:379:1: warning: no return statement in function returning non-void
plug-ins/libart/export_png.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/libart/export_png.c b/plug-ins/libart/export_png.c
index a9daec9..5d55392 100644
--- a/plug-ins/libart/export_png.c
+++ b/plug-ins/libart/export_png.c
@@ -376,6 +376,7 @@ export_png(DiagramData *data, DiaContext *ctx,
cbdata->size = (gchar *) user_data;
export_png_ok(NULL, cbdata);
}
+ return TRUE;
}
static const gchar *extensions[] = { "png", NULL };
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]