mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-17 06:40:37 +01:00
cairo-analysis-surface: Quell invalid uninitialized variable warning
Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
This commit is contained in:
parent
5de2667b76
commit
38fc475995
1 changed files with 4 additions and 3 deletions
|
|
@ -263,7 +263,8 @@ _analyze_recording_surface_pattern (cairo_analysis_surface_t *surface,
|
|||
cairo_analysis_surface_t *tmp;
|
||||
cairo_surface_t *source, *proxy;
|
||||
cairo_matrix_t p2d;
|
||||
cairo_int_status_t status, analysis_status;
|
||||
cairo_int_status_t status;
|
||||
cairo_int_status_t analysis_status = CAIRO_INT_STATUS_SUCCESS;
|
||||
cairo_bool_t surface_is_unbounded;
|
||||
cairo_bool_t unused;
|
||||
|
||||
|
|
@ -347,8 +348,8 @@ _analyze_recording_surface_pattern (cairo_analysis_surface_t *surface,
|
|||
|
||||
if (unlikely (status))
|
||||
return status;
|
||||
|
||||
return analysis_status;
|
||||
else
|
||||
return analysis_status;
|
||||
}
|
||||
|
||||
static cairo_status_t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue