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 | 15 |
1 files changed, 15 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 000000000..3ccb14ea9 --- /dev/null +++ b/meta-oe/recipes-navigation/omgps/omgps/use.unused.variable.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Upstream-Status: Submitted | ||
2 | https://code.google.com/p/omgps/issues/detail?id=15 | ||
3 | |||
4 | --- a/src/settings.c 2011-12-12 13:21:30.573400795 +0100 | ||
5 | +++ b/src/settings.c 2011-12-12 14:11:05.269606119 +0100 | ||
6 | @@ -278,6 +278,9 @@ | ||
7 | } | ||
8 | |||
9 | ret = check_settings(errbuf, ERRBUF_LEN); | ||
10 | + if (ret == FALSE) { | ||
11 | + snprintf(errbuf, ERRBUF_LEN, "Something wrong while loading settings file"); | ||
12 | + } | ||
13 | |||
14 | if (fd > 0) | ||
15 | close(fd); | ||