From: Nicolas Thill Date: Tue, 4 Sep 2007 13:23:21 +0000 (+0000) Subject: suppress warning in gcd() X-Git-Tag: reboot~28223 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3abffae7fba7b7ca159817568114347e8ba4ad9a;p=oweals%2Fopenwrt.git suppress warning in gcd() SVN-Revision: 8609 --- diff --git a/target/linux/ar7-2.6/files/arch/mips/ar7/clock.c b/target/linux/ar7-2.6/files/arch/mips/ar7/clock.c index c7ae09ecd7..6d30e609d8 100644 --- a/target/linux/ar7-2.6/files/arch/mips/ar7/clock.c +++ b/target/linux/ar7-2.6/files/arch/mips/ar7/clock.c @@ -103,12 +103,12 @@ static int gcd(int a, int b) { int c; - if ( a < b) { + if (a < b) { c = a; a = b; b = c; } - while (c = (a % b)) { + while ((c = (a % b))) { a = b; b = c; }