Revision: 8314 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8314&view=rev Author: mdboom Date: 2010-05-12 15:28:12 +0000 (Wed, 12 May 2010)
Log Message: ----------- Suppress compiler warning. Modified Paths: -------------- trunk/matplotlib/src/_backend_agg.cpp Modified: trunk/matplotlib/src/_backend_agg.cpp =================================================================== --- trunk/matplotlib/src/_backend_agg.cpp 2010-05-12 15:27:53 UTC (rev 8313) +++ trunk/matplotlib/src/_backend_agg.cpp 2010-05-12 15:28:12 UTC (rev 8314) @@ -834,6 +834,8 @@ } else { x = mpl_round(Py::Float(args[1])); y = mpl_round(Py::Float(args[2])); + w = h = 0; /* w and h not used in this case, but assign to prevent + warnings from the compiler */ } @@ -890,7 +892,7 @@ typedef agg::pixfmt_amask_adaptor<pixfmt, alpha_mask_type> pixfmt_amask_type; typedef agg::renderer_base<pixfmt_amask_type> amask_ren_type; typedef agg::renderer_scanline_aa<amask_ren_type, color_span_alloc_type, image_span_gen_type> renderer_type_alpha; - + pixfmt_amask_type pfa(pixFmt, alphaMask); amask_ren_type r(pfa); renderer_type_alpha ri(r, sa, image_span_generator); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins