vcl/source/fontsubset/cff.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0f8262d34ba7130a8bd8907bc85e9f42fecafd51
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Sat Nov 19 23:04:53 2022 +0100
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Mon Nov 21 11:20:23 2022 +0100

    vcl: GCC 12.2.1 -Werror=maybe-uninitialized
    
    Change-Id: I54ff61456682a312d5507aa6d740c0a72ea33ce1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142981
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index 900ddfeea637..45a8b7890a31 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -1360,7 +1360,7 @@ void CffSubsetterContext::convertOneTypeOp()
             auto bchar = popVal();
             auto ady = popVal();
             auto adx = popVal();
-            int nBase, nAccent;
+            int nBase = {}, nAccent = {};
             if (getBaseAccent(bchar, achar, &nBase, &nAccent))
             {
                 maExtraGlyphIds.push_back(nBase);

Reply via email to