No need to use that macro outside a loop.

This commit is contained in:
Nicolás A. Ortega 2016-12-10 02:09:34 +01:00
parent 30703314dd
commit cb9e1648e9
No known key found for this signature in database
GPG Key ID: 614272579C2070D1

View File

@ -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);
} }