No need to use that macro outside a loop.
This commit is contained in:
parent
30703314dd
commit
cb9e1648e9
@ -28,7 +28,7 @@ int main(void) {
|
|||||||
// Add 2, a known prime to this list
|
// Add 2, a known prime to this list
|
||||||
mpz_set_ui(num, 2);
|
mpz_set_ui(num, 2);
|
||||||
addToList(&primes, num);
|
addToList(&primes, num);
|
||||||
if(unlikely(mpz_out_str(stdout, 10, num) == 0)) {
|
if(mpz_out_str(stdout, 10, num) == 0) {
|
||||||
fprintf(stderr, "Could not print to `stdout'!\n");
|
fprintf(stderr, "Could not print to `stdout'!\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user