diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 16:30:17 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 16:30:17 +0000 |
commit | deaaff24d57d7cd57b790c887a01329f17c65828 (patch) | |
tree | 61eb6625fecfa3e2bf85e3bb7c3f4c4d269e1e56 /agg | |
parent | 629c982041e5a84daade4df6e6608703a19cf6b2 (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-x | agg/source/agg_path_storage.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/agg/source/agg_path_storage.cpp b/agg/source/agg_path_storage.cpp index c3c0124..1ae0d32 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)) { |