From 10f8786332e78ac0b374434c877458267c32597a Mon Sep 17 00:00:00 2001 From: mcbarton Date: Wed, 21 Oct 2026 11:38:41 +0100 Subject: [PATCH] Remove unused buffer variable from xassist.cpp --- src/xmagics/xassist.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xmagics/xassist.cpp b/src/xmagics/xassist.cpp index 60971b0c..181dab2b 100644 --- a/src/xmagics/xassist.cpp +++ b/src/xmagics/xassist.cpp @@ -310,7 +310,6 @@ namespace xcpp if (c < 0x20 || c > 0x7E) { // Escape non-printable ASCII characters and non-ASCII characters - std::array buffer{}; std::stringstream ss; ss << "\\u" << std::hex << std::setw(4) << std::setfill('0') << (c & 0xFFFF); escaped += ss.str(); @@ -527,4 +526,4 @@ namespace xcpp std::cerr << "Caught an unknown exception" << std::endl; } } -} // namespace xcpp \ No newline at end of file +} // namespace xcpp