summaryrefslogtreecommitdiff
path: root/agg
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:30:17 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:30:17 +0000
commit5becaa04cc0c871ff0a7957de955286c0a2e2057 (patch)
tree9e09aa27d2460c20f0076097c52a2556e6659f8e /agg
parent0176181fee891b753a82e4eb53c8d5e714e98bb1 (diff)
INTEGRATION: CWS pj65 (1.2.8); FILE MERGED
2006/10/24 06:44:22 pjanik 1.2.8.1: #i70663#: Prevent warnings on Mac OS X.
Diffstat (limited to 'agg')
-rwxr-xr-xagg/source/agg_path_storage.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/agg/source/agg_path_storage.cpp b/agg/source/agg_path_storage.cpp
index c5d381ed55be..60eafffff14f 100755
--- a/agg/source/agg_path_storage.cpp
+++ b/agg/source/agg_path_storage.cpp
@@ -217,12 +217,12 @@ namespace agg
//------------------------------------------------------------------------
void path_storage::curve3(double x_to, double y_to)
{
- double x0;
- double y0;
+ double x0 = 0;
+ double y0 = 0;
if(is_vertex(last_vertex(&x0, &y0)))
{
- double x_ctrl;
- double y_ctrl;
+ double x_ctrl = 0;
+ double y_ctrl = 0;
unsigned cmd = prev_vertex(&x_ctrl, &y_ctrl);
if(is_curve(cmd))
{
@@ -275,12 +275,12 @@ namespace agg
void path_storage::curve4(double x_ctrl2, double y_ctrl2,
double x_to, double y_to)
{
- double x0;
- double y0;
+ double x0 = 0;
+ double y0 = 0;
if(is_vertex(last_vertex(&x0, &y0)))
{
- double x_ctrl1;
- double y_ctrl1;
+ double x_ctrl1 = 0;
+ double y_ctrl1 = 0;
unsigned cmd = prev_vertex(&x_ctrl1, &y_ctrl1);
if(is_curve(cmd))
{