summaryrefslogtreecommitdiff
path: root/target
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
commit3abffae7fba7b7ca159817568114347e8ba4ad9a (patch)
treef322dd6aa71b5b7789794664ceaaff933f1ee85b /target
parentf0715bbde9cb973977fa3da1bbe07af29ac49260 (diff)
downloadmtk-20170518-3abffae7fba7b7ca159817568114347e8ba4ad9a.zip
mtk-20170518-3abffae7fba7b7ca159817568114347e8ba4ad9a.tar.gz
mtk-20170518-3abffae7fba7b7ca159817568114347e8ba4ad9a.tar.bz2
suppress warning in gcd()
SVN-Revision: 8609
Diffstat (limited to 'target')
-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 c7ae09e..6d30e60 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;
}