summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-12 08:12:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-12 09:14:31 +0200
commitdd2010e79fb2ccb46e602bf0546487b7d1b095f1 (patch)
tree53c459a4386d7982d567b29df45ef9b68ff4bf26 /sal
parentcf954c71850521405176c6cbe4bf636806421c21 (diff)
-Werror,-Wunused-variable
...since 92f93f300371d2011b53d48d3491870b24cff0b4 "output error code when SymFromAddr fails" Change-Id: I9d831e363fe98068cb55102628c98aa9d4ad5d3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134213 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/cppunittester/cppunittester.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx
index 4a1c050a4662..b1fefecf94aa 100644
--- a/sal/cppunittester/cppunittester.cxx
+++ b/sal/cppunittester/cppunittester.cxx
@@ -490,7 +490,6 @@ static bool main2()
//Prints stack trace based on exception context record
static void printStack( PCONTEXT ctx )
{
- constexpr int MaxNameLen = 256;
HANDLE process = GetCurrentProcess();
HANDLE thread = GetCurrentThread();