[planner] Fixed return without value in non-void function



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]