summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-10-09 21:26:39 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-10-09 21:26:39 (GMT)
commit95af4fbfa56977d7c93ef6339c37829a47275f77 (patch)
tree2e453796551c43e08d37845694c458d3d4381aa3
parentb367d67afa9e3f3202355bf79665afe8ad0d5d43 (diff)
downloadbuildroot-95af4fbfa56977d7c93ef6339c37829a47275f77.tar.gz
buildroot-95af4fbfa56977d7c93ef6339c37829a47275f77.tar.bz2
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 70d4a79..6dc8789 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 95c079a..5d5668d 100644
--- a/package/makedevs/makedevs.c
+++ b/package/makedevs/makedevs.c
@@ -536,5 +536,5 @@ loop:
}
fclose(table);
- return 0;
+ return ret;
}