[HarfBuzz] harfbuzz: Branch 'master'
Simon Hausmann
hausmann at kemper.freedesktop.org
Thu Nov 26 04:15:22 PST 2009
src/harfbuzz-shaper.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 128fd2bce64eab2ba39be0f89f1b65cdf5cf41ee
Author: Gordon Schumacher <gordon at rebit.com>
Date: Thu Nov 26 13:13:39 2009 +0100
Fix uninitialized error variable if the stream doesn't exist
Qt-merge-request: http://qt.gitorious.org/qt/qt/merge_requests/2174
Reviewed-by: Eskil
Signed-off-by: Simon Hausmann <simon.hausmann at nokia.com>
diff --git a/src/harfbuzz-shaper.cpp b/src/harfbuzz-shaper.cpp
index 1056f45..bfc7bd4 100644
--- a/src/harfbuzz-shaper.cpp
+++ b/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;
More information about the HarfBuzz
mailing list