aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEditBase/PlatQt.cpp
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-10-26 08:13:50 +1100
committerNeil <nyamatongwe@gmail.com>2021-10-26 08:13:50 +1100
commitc1c75875711460c2de9c838b5f679dc8d965aea6 (patch)
tree4de0228e59135a1c9c05f6d90197f9ffa6a6cac2 /qt/ScintillaEditBase/PlatQt.cpp
parent947d0a3b4031be0e6881b12e92df751675faabe8 (diff)
downloadscintilla-mirror-c1c75875711460c2de9c838b5f679dc8d965aea6.tar.gz
Ensure variables initialized.
Diffstat (limited to 'qt/ScintillaEditBase/PlatQt.cpp')
-rw-r--r--qt/ScintillaEditBase/PlatQt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/ScintillaEditBase/PlatQt.cpp b/qt/ScintillaEditBase/PlatQt.cpp
index 96b05a855..a9bb4b0f9 100644
--- a/qt/ScintillaEditBase/PlatQt.cpp
+++ b/qt/ScintillaEditBase/PlatQt.cpp
@@ -1319,7 +1319,7 @@ void Platform::DebugDisplay(const char *s) noexcept
void Platform::DebugPrintf(const char *format, ...) noexcept
{
char buffer[2000];
- va_list pArguments;
+ va_list pArguments{};
va_start(pArguments, format);
vsprintf(buffer, format, pArguments);
va_end(pArguments);