From 816095e1fabb5d67218b1ef24b28476bbf4a4235 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 23 Jun 2023 22:10:26 +1000 Subject: Ensure local variable initialised. --- win32/ScintillaWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 964b3ee3c..e38ba6386 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -3030,7 +3030,7 @@ void ScintillaWin::ImeStartComposition() { // Move IME Window to current caret position IMContext imc(MainHWND()); const Point pos = PointMainCaret(); - COMPOSITIONFORM CompForm; + COMPOSITIONFORM CompForm {}; CompForm.dwStyle = CFS_POINT; CompForm.ptCurrentPos = POINTFromPoint(pos); -- cgit v1.2.3