diff options
Diffstat (limited to 'meta-oe/recipes-navigation/omgps/omgps/use.unused.variable.patch')
-rw-r--r-- | meta-oe/recipes-navigation/omgps/omgps/use.unused.variable.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-oe/recipes-navigation/omgps/omgps/use.unused.variable.patch b/meta-oe/recipes-navigation/omgps/omgps/use.unused.variable.patch new file mode 100644 index 0000000000..73d6dbab61 --- /dev/null +++ b/meta-oe/recipes-navigation/omgps/omgps/use.unused.variable.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | --- a/src/settings.c 2011-12-12 13:21:30.573400795 +0100 | ||
2 | +++ b/src/settings.c 2011-12-12 14:11:05.269606119 +0100 | ||
3 | @@ -278,6 +278,9 @@ | ||
4 | } | ||
5 | |||
6 | ret = check_settings(errbuf, ERRBUF_LEN); | ||
7 | + if (ret == FALSE) { | ||
8 | + snprintf(errbuf, ERRBUF_LEN, "Something wrong while loading settings file"); | ||
9 | + } | ||
10 | |||
11 | if (fd > 0) | ||
12 | close(fd); | ||