From: Peter Korsgaard Date: Sun, 9 Oct 2011 21:26:39 +0000 (+0200) Subject: makedevs: remove compiler warning about used-but-set X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95af4fbfa56977d7c93ef6339c37829a47275f77;p=buildroot.git makedevs: remove compiler warning about used-but-set Closes #4171 Based on patch by Hector Oron Signed-off-by: Peter Korsgaard --- diff --git a/CHANGES b/CHANGES index 70d4a79f6c..6dc8789e5a 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 95c079a9fe..5d5668de6e 100644 --- a/package/makedevs/makedevs.c +++ b/package/makedevs/makedevs.c @@ -536,5 +536,5 @@ loop: } fclose(table); - return 0; + return ret; }