changed initial values

This commit is contained in:
Cem
2026-07-07 19:02:23 +02:00
parent f9c8ea9580
commit 248daaf784
+6 -7
View File
@@ -99,7 +99,6 @@ unsigned tests(void) {
free(tempArrNotColored); free(tempArrNotColored);
return 0; return 0;
// run the tests
} }
@@ -174,14 +173,14 @@ int main(int argc, char** argv)
_Bool will_benchmark = false; // actual initial value _Bool will_benchmark = false; // actual initial value
_Bool will_test = false; _Bool will_test = false;
int amount_function_called = 0; // initial values, so that the compiler doesn't complain int amount_function_called = -1; // initial values, so that the compiler doesn't complain
unsigned n = 0; unsigned n = 0;
float starting_point_real = 0; float starting_point_real = -1;
float starting_point_imaginary = 0; float starting_point_imaginary = -1;
size_t width = 0; size_t width = 0;
ssize_t height = 0; ssize_t height = -1;
float resolution = 0; float resolution = -1;
char* output_data = 0; char* output_data = NULL;
opt_long = getopt_long(argc,argv,optstring, long_options, NULL); opt_long = getopt_long(argc,argv,optstring, long_options, NULL);