agg-2.4.tar.gz-noarch-fixpathstoragewarning.diff [JoeB]

This commit is contained in:
Artem Pavlenko 2011-10-26 10:21:21 +01:00
parent 6798e52c58
commit e837b46f5c

View file

@ -736,7 +736,7 @@ namespace agg
template<class VertexSource> template<class VertexSource>
void join_path(VertexSource& vs, unsigned path_id = 0) void join_path(VertexSource& vs, unsigned path_id = 0)
{ {
double x, y; double x=0.0, y=0.0;
unsigned cmd; unsigned cmd;
vs.rewind(path_id); vs.rewind(path_id);
cmd = vs.vertex(&x, &y); cmd = vs.vertex(&x, &y);