suppress warning in gcd()
authorNicolas Thill <nico@openwrt.org>
Tue, 4 Sep 2007 13:23:21 +0000 (13:23 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 4 Sep 2007 13:23:21 +0000 (13:23 +0000)
SVN-Revision: 8609

target/linux/ar7-2.6/files/arch/mips/ar7/clock.c

index c7ae09ecd751196f269b4154a574e33a6183ca31..6d30e609d8b346938f3da1a2471a0978c350c654 100644 (file)
@@ -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;
        }