aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-09-04 13:23:21 +0000
committerNicolas Thill <nico@openwrt.org>2007-09-04 13:23:21 +0000
commit5829242605a01c0df131df161ec7fe65ccdff5c9 (patch)
treec52f9e5640bc694845d2837d008d219b3fa62819
parent21580d89a5668568d407af7a728b31bf0d73907d (diff)
downloadupstream-5829242605a01c0df131df161ec7fe65ccdff5c9.tar.gz
upstream-5829242605a01c0df131df161ec7fe65ccdff5c9.tar.bz2
upstream-5829242605a01c0df131df161ec7fe65ccdff5c9.zip
suppress warning in gcd()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8609 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar7-2.6/files/arch/mips/ar7/clock.c4
1 files changed, 2 insertions, 2 deletions
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;
}