This PR fixes a bug where an uninitialized `type` variable is stored in the struct passed into the method and later could be used in computation.
This bug should never actually happen, since the switch statement already covers all valid types. However, it should be fixed as a best-practice. NOTE: This fix is in Mac-specific platform code. All code in coretext.c is under an ifdef for Apple. ------------- Commit messages: - 8379209: Uninitialised variable in pathApplierFunctionFast of coretext.c Changes: https://git.openjdk.org/jfx/pull/2133/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2133&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8379209 Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jfx/pull/2133.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2133/head:pull/2133 PR: https://git.openjdk.org/jfx/pull/2133
