aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-navigation/omgps/omgps/use.unused.variable.patch
blob: 73d6dbab619394cf50b9673b4dab8a238cade734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/src/settings.c	2011-12-12 13:21:30.573400795 +0100
+++ b/src/settings.c	2011-12-12 14:11:05.269606119 +0100
@@ -278,6 +278,9 @@
 	}
 
 	ret = check_settings(errbuf, ERRBUF_LEN);
+	if (ret == FALSE) {
+		snprintf(errbuf, ERRBUF_LEN, "Something wrong while loading settings file");
+	}
 
 	if (fd > 0)
 		close(fd);