summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-10-09 23:26:39 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-10-09 23:26:39 +0200
commit95af4fbfa56977d7c93ef6339c37829a47275f77 (patch)
tree2e453796551c43e08d37845694c458d3d4381aa3
parentb367d67afa9e3f3202355bf79665afe8ad0d5d43 (diff)
makedevs: remove compiler warning about used-but-set
Closes #4171 Based on patch by Hector Oron <hector.oron@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--CHANGES1
-rw-r--r--package/makedevs/makedevs.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 70d4a79f6..6dc8789e5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -60,6 +60,7 @@
#3631: Error while compiling with Xorg
#3925: midori not getting compile
#4045: Add support for downloading i386 toolchains from codesourcery
+ #4171: makedevs-unused-but-set-variable.patch
#4183: Codesourcery toolchain download site has changed
2011.08, Released August 31th, 2011:
diff --git a/package/makedevs/makedevs.c b/package/makedevs/makedevs.c
index 95c079a9f..5d5668de6 100644
--- a/package/makedevs/makedevs.c
+++ b/package/makedevs/makedevs.c
@@ -536,5 +536,5 @@ loop:
}
fclose(table);
- return 0;
+ return ret;
}