suppress warning in gcd()
SVN-Revision: 8609
This commit is contained in:
parent
f0715bbde9
commit
3abffae7fb
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue