aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-11-26 23:55:26 +0100
committerThomas White <taw@bitwiz.org.uk>2009-11-26 23:55:26 +0100
commit6570641ec8250465e9a91bf4ec363a61b5f06ba3 (patch)
tree63288df92fd330abd23d11c8fec52a63abcf9295 /src/utils.c
parent7b8844a5087da3fb227c3f7b7c8ce6c13cf54a4e (diff)
A missing return value and a missing initialisation
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 90720510..9aa235a2 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -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);