makedevs: remove compiler warning about used-but-set
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 9 Oct 2011 21:26:39 +0000 (23:26 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 9 Oct 2011 21:26:39 +0000 (23:26 +0200)
Closes #4171

Based on patch by Hector Oron <hector.oron@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/makedevs/makedevs.c

diff --git a/CHANGES b/CHANGES
index 70d4a79f6c5cdb13fa58cb7f299130876b3e1a58..6dc8789e5a27ca826cdc31e12d34fe896e295d38 100644 (file)
--- 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:
index 95c079a9fef0a87bcfca92fee895c49906e4cba9..5d5668de6e1565b83732e0d610dbcafcb95cf166 100644 (file)
@@ -536,5 +536,5 @@ loop:
        }
        fclose(table);
 
-       return 0;
+       return ret;
 }