sal/cppunittester/cppunittester.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit bccbdce07cfa74f5cabf97c5fb11405991fffdfe Author: Stephan Bergmann <[email protected]> AuthorDate: Thu Mar 31 09:17:10 2022 +0200 Commit: Stephan Bergmann <[email protected]> CommitDate: Thu Mar 31 14:33:19 2022 +0200 -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 <[email protected]> Reviewed-by: Stephan Bergmann <[email protected]> Tested-by: Jenkins 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
