Commit c4fd00c2 authored by Mathieu Duponchelle's avatar Mathieu Duponchelle 🐸 Committed by Uli Schlachter
Browse files

script-surface: Fix unitialized variable compiler warning

gcc doesn't warn about this because status is potentially
initialized in a loop.
parent bfa00bc3
......@@ -1839,7 +1839,7 @@ _emit_path_boxes (cairo_script_surface_t *surface,
cairo_script_context_t *ctx = to_context (surface);
cairo_path_fixed_iter_t iter;
cairo_status_t status;
cairo_status_t status = CAIRO_STATUS_SUCCESS;
struct _cairo_boxes_chunk *chunk;
cairo_boxes_t boxes;
cairo_box_t box;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment