[util] Fix uninitialized memory access
This commit is contained in:
parent
260a3198f4
commit
c704a8700e
|
@ -36,7 +36,7 @@ struct view_cairo_t
|
||||||
view_cairo_t (option_parser_t *parser)
|
view_cairo_t (option_parser_t *parser)
|
||||||
: output_options (parser, helper_cairo_supported_formats),
|
: output_options (parser, helper_cairo_supported_formats),
|
||||||
view_options (parser),
|
view_options (parser),
|
||||||
lines (0), scale (1.0) {}
|
lines (0), scale (1.0), direction (HB_DIRECTION_INVALID) {}
|
||||||
~view_cairo_t (void) {
|
~view_cairo_t (void) {
|
||||||
if (debug)
|
if (debug)
|
||||||
cairo_debug_reset_static_data ();
|
cairo_debug_reset_static_data ();
|
||||||
|
|
Loading…
Reference in New Issue