Commit 6570641e authored by Thomas White's avatar Thomas White
Browse files

A missing return value and a missing initialisation

parent 7b8844a5
......@@ -201,4 +201,6 @@ int main(int argc, char *argv[])
if ( n_images && (number >= n_images) ) done = 1;
} while ( !done );
return 0;
}
......@@ -77,7 +77,7 @@ void progress_bar(int val, int total, const char *text)
double poisson_noise(double expected)
{
double L;
int k;
int k = 0;
double p = 1.0;
L = exp(-expected);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment