Bug 1205854 - Initialize variable in _cairo_matrix_transformed_circle_major_axis.
☠☠ backed out by 26c5929a5a7e ☠ ☠
authorLee Salzman <lsalzman@mozilla.com>
Wed, 21 Oct 2015 12:48:58 -0400
changeset 303956 aa291bcfb0e8738348a52c7b882d4ede346291c1
parent 303955 afd0786c65f5d57945df9746975f3c0cf89a6275
child 303957 0eee1ce8d43ca2866fb716d17897c1f04f5d3968
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1205854
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1205854 - Initialize variable in _cairo_matrix_transformed_circle_major_axis. CLOSED TREE
gfx/cairo/cairo/src/cairo-matrix.c
gfx/cairo/win32-printing-axis-swap.patch
--- a/gfx/cairo/cairo/src/cairo-matrix.c
+++ b/gfx/cairo/cairo/src/cairo-matrix.c
@@ -908,17 +908,17 @@ void
 }
 
 /* determine the length of the major axis of a circle of the given radius
    after applying the transformation matrix. */
 double
 _cairo_matrix_transformed_circle_major_axis (const cairo_matrix_t *matrix,
 					     double radius)
 {
-    double major;
+    double major = 0.0;
 
     _cairo_matrix_transformed_circle_axes (matrix, radius, &major, NULL);
 
     return major;
 }
 
 void
 _cairo_matrix_to_pixman_matrix (const cairo_matrix_t	*matrix,
--- a/gfx/cairo/win32-printing-axis-swap.patch
+++ b/gfx/cairo/win32-printing-axis-swap.patch
@@ -60,17 +60,17 @@ diff --git a/gfx/cairo/cairo/src/cairo-m
 -     * double min = radius * sqrt (f - sqrt (g*g+h*h));
 -     */
 +/* determine the length of the major axis of a circle of the given radius
 +   after applying the transformation matrix. */
 +double
 +_cairo_matrix_transformed_circle_major_axis (const cairo_matrix_t *matrix,
 +					     double radius)
 +{
-+    double major;
++    double major = 0.0;
 +
 +    _cairo_matrix_transformed_circle_axes (matrix, radius, &major, NULL);
 +
 +    return major;
  }
  
  void
  _cairo_matrix_to_pixman_matrix (const cairo_matrix_t	*matrix,