mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-02 15:31:06 +02:00
suppress warning in gcd()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8609 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1d1cb9fb51
commit
ba0c7dab52
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user