summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-03-31 09:17:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-03-31 14:33:19 +0200
commitbccbdce07cfa74f5cabf97c5fb11405991fffdfe (patch)
treee74a45334b3a3e1a726d4e2ab5980c17395f098d /sal
parent9f0e19721bb598c75835cfa94f4158085f81288e (diff)
-Werror,-Wunused-but-set-variable
...ever since 24b06b9c6bdb777dff385b0fbfc81d55d3d013a1 "log access violation on windows tinderboxen" Change-Id: I8a26135131774d0c9fd160b805a3ab798a216cf9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132349 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'sal')
-rw-r--r--sal/cppunittester/cppunittester.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx
index 7d5ce39edf12..ae77bb3e3961 100644
--- a/sal/cppunittester/cppunittester.cxx
+++ b/sal/cppunittester/cppunittester.cxx
@@ -500,7 +500,6 @@ static void printStack( CONTEXT* ctx )
#else
STACKFRAME stack;
#endif
- ULONG frame;
DWORD64 displacement;
DWORD disp;
char buffer[sizeof(SYMBOL_INFO) + MAX_SYM_NAME * sizeof(TCHAR)];
@@ -535,7 +534,7 @@ static void printStack( CONTEXT* ctx )
line->SizeOfStruct = sizeof(IMAGEHLP_LINE);
#endif
- for( frame = 0; ; frame++ )
+ for( ; ; )
{
//get next call from stack
#ifdef _M_AMD64