Files
harfbuzz/util
Khaled Hosny 00060d99f3 [hb-cairo] Silence warning when building with FreeType
In file included from ../util/hb-view.cc:33:
In file included from ../util/view-cairo.hh:32:
../util/helper-cairo.hh:102:7: warning: variable 'cairo_face' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  if (use_hb_draw)
      ^~~~~~~~~~~
../util/helper-cairo.hh:129:64: note: uninitialized use occurs here
  cairo_scaled_font_t *scaled_font = cairo_scaled_font_create (cairo_face,
                                                               ^~~~~~~~~~
../util/helper-cairo.hh:102:3: note: remove the 'if' if its condition is always true
  if (use_hb_draw)
  ^~~~~~~~~~~~~~~~
../util/helper-cairo.hh:101:32: note: initialize the variable 'cairo_face' to silence this warning
  cairo_font_face_t *cairo_face;
                               ^
                                = nullptr

We know that cairo_face will always be assigned since use_hb_draw will
always be true, but the compiler does not know that.
2022-12-30 22:55:56 +02:00
..
2022-12-29 21:01:16 -07:00
2020-07-29 08:44:23 +04:30
2015-04-09 19:16:57 -07:00
2022-12-29 20:41:55 -07:00
2022-12-26 17:01:08 -07:00
2022-12-27 08:37:46 -05:00
2022-12-26 17:01:08 -07:00
2022-12-29 21:07:38 -07:00
2022-12-23 13:31:48 -07:00
2022-12-29 18:19:06 -07:00