summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/harfbuzz
diff options
context:
space:
mode:
authorGordon Schumacher <gordon@rebit.com>2009-11-21 18:19:54 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-11-26 11:49:10 (GMT)
commitdf83eaa02d9c1b697438d237daab3fb7aac02ab7 (patch)
tree28a2485026f72d4199e24e79cd80fd97a341313e /src/3rdparty/harfbuzz
parent9638c1e076a6dac73dd6a5a4ffee10b1c71eedcb (diff)
downloadQt-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
Diffstat (limited to 'src/3rdparty/harfbuzz')
-rw-r--r--src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp2
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;