diff options
author | Gordon Schumacher <gordon@rebit.com> | 2009-11-21 18:19:54 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2009-11-26 11:49:10 (GMT) |
commit | df83eaa02d9c1b697438d237daab3fb7aac02ab7 (patch) | |
tree | 28a2485026f72d4199e24e79cd80fd97a341313e | |
parent | 9638c1e076a6dac73dd6a5a4ffee10b1c71eedcb (diff) | |
download | Qt-df83eaa02d9c1b697438d237daab3fb7aac02ab7.zip Qt-df83eaa02d9c1b697438d237daab3fb7aac02ab7.tar.gz Qt-df83eaa02d9c1b697438d237daab3fb7aac02ab7.tar.bz2 |
Fix uninitialized error variable if the stream doesn't exist
Merge-request: 2174
Reviewed-by: Eskil
-rw-r--r-- | src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp b/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp index f3ec8e1..bfb03ab 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp +++ b/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp @@ -975,7 +975,7 @@ HB_Face HB_NewFace(void *font, HB_GetFontTableFunc tableFunc) face->glyphs_substituted = false; face->buffer = 0; - HB_Error error; + HB_Error error = HB_Err_Ok; HB_Stream stream; HB_Stream gdefStream; |