[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r11783: initialize variabales to eli
From: |
Rob Savoye |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r11783: initialize variabales to eliminate compiler warnings. |
Date: |
Wed, 20 Jan 2010 17:13:51 -0700 |
User-agent: |
Bazaar (2.0.2) |
------------------------------------------------------------
revno: 11783
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Wed 2010-01-20 17:13:51 -0700
message:
initialize variabales to eliminate compiler warnings.
modified:
libcore/Geometry.cpp
=== modified file 'libcore/Geometry.cpp'
--- a/libcore/Geometry.cpp 2010-01-14 12:03:17 +0000
+++ b/libcore/Geometry.cpp 2010-01-21 00:13:51 +0000
@@ -213,8 +213,8 @@
next_pen_x = edg.ap.x;
next_pen_y = edg.ap.y;
- float cross1, cross2;
- int dir1, dir2 = 0; // +1 = downward, -1 = upward
+ float cross1 = 0.0, cross2 = 0.0;
+ int dir1 = 0, dir2 = 0; // +1 = downward, -1 = upward
int crosscount = 0;
if (edg.straight())
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r11783: initialize variabales to eliminate compiler warnings.,
Rob Savoye <=