[planner] Fixed return without value in non-void function
- From: Maurice van der Pot <mvdpot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [planner] Fixed return without value in non-void function
- Date: Sun, 17 Oct 2010 20:03:49 +0000 (UTC)
commit febc89de02948968603e8c7323cad584755890db
Author: Maurice van der Pot <griffon26 kfk4ever com>
Date: Sun Oct 17 22:00:41 2010 +0200
Fixed return without value in non-void function
libplanner/mrp-file-module.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libplanner/mrp-file-module.c b/libplanner/mrp-file-module.c
index 04f7a90..c9f4353 100644
--- a/libplanner/mrp-file-module.c
+++ b/libplanner/mrp-file-module.c
@@ -63,7 +63,7 @@ mrp_file_module_load_all (MrpApplication *app)
if (dir == NULL) {
g_free (path);
- return;
+ return NULL;
}
while ((name = g_dir_read_name (dir)) != NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]