mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-11 21:25:48 +00:00
suppress warning in gcd()
SVN-Revision: 8609
This commit is contained in:
parent
f0715bbde9
commit
3abffae7fb
@ -103,12 +103,12 @@ static int gcd(int a, int b)
|
|||||||
{
|
{
|
||||||
int c;
|
int c;
|
||||||
|
|
||||||
if ( a < b) {
|
if (a < b) {
|
||||||
c = a;
|
c = a;
|
||||||
a = b;
|
a = b;
|
||||||
b = c;
|
b = c;
|
||||||
}
|
}
|
||||||
while (c = (a % b)) {
|
while ((c = (a % b))) {
|
||||||
a = b;
|
a = b;
|
||||||
b = c;
|
b = c;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user