diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-09-13 09:12:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-13 09:12:26 +0200 |
commit | 66322c5f4a5465c74fa3ceefaa2f76e86a277c16 (patch) | |
tree | 2d5b95781658915edf4f49b8a37be331fa06230d /sal | |
parent | d0d026a1589b8d8d97d4c64a48343c2d55774741 (diff) |
Silence warning C4701: potentially uninitialized local variable
Change-Id: Ia37347108f9fe7094f055a5c6f2ec9511c3aff1d
Diffstat (limited to 'sal')
-rw-r--r-- | sal/textenc/tcvtutf8.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/textenc/tcvtutf8.cxx b/sal/textenc/tcvtutf8.cxx index 4943f6987a29..d9c3c134a83a 100644 --- a/sal/textenc/tcvtutf8.cxx +++ b/sal/textenc/tcvtutf8.cxx @@ -68,7 +68,7 @@ sal_Size ImplConvertUtf8ToUnicode( { bool bJavaUtf8 = pData != nullptr; sal_uInt32 nUtf32 = 0; - int nBytes; + int nBytes = int(); int nShift = -1; bool bCheckBom = true; sal_uInt32 nInfo = 0; |