projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bada65
)
Minor, fix gcc maybe-uninitialized complain
author
Ebrahim Byagowi
<ebrahim@gnu.org>
Fri, 7 Jun 2019 17:44:53 +0000
(10:44 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Fri, 7 Jun 2019 17:49:57 +0000
(10:49 -0700)
I guess all of its field will be initialized anyway here but lets make it more defensive
src/hb-ot-glyf-table.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-glyf-table.hh
b/src/hb-ot-glyf-table.hh
index
1ac9f6b
..
76efdc9
100644
(file)
--- a/
src/hb-ot-glyf-table.hh
+++ b/
src/hb-ot-glyf-table.hh
@@
-180,7
+180,7
@@
struct glyf
+ hb_range (plan->num_output_glyphs ())
| hb_map ([&] (hb_codepoint_t new_gid) {
- SubsetGlyph subset_glyph;
+ SubsetGlyph subset_glyph
= {0}
;
subset_glyph.new_gid = new_gid;
// should never fail: all old gids should be mapped