[gcompris/gcomprixogoo] Fixed a compilation issue. Missing initialization.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: svn-commits-list gnome org
- Subject: [gcompris/gcomprixogoo] Fixed a compilation issue. Missing initialization.
- Date: Fri, 24 Jul 2009 23:47:45 +0000 (UTC)
commit 87e9bbf1e2325f3b1c5f92e042de317faf6cbcbf
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Sat Jul 25 01:47:10 2009 +0200
Fixed a compilation issue. Missing initialization.
src/target-activity/target.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/target-activity/target.c b/src/target-activity/target.c
index 8f33b66..5858f09 100644
--- a/src/target-activity/target.c
+++ b/src/target-activity/target.c
@@ -604,7 +604,7 @@ static guint add_points(double x, double y)
{
guint i;
double diametre;
- guint points;
+ guint points = 0;
// Calculate the distance
diametre = sqrt(x*x+y*y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]