From 1d2c115e44e0d74bcda27b1bfe6a7d28d2541489 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 27 Nov 2006 15:02:32 +0000 Subject: [PATCH] fixed missing initialization of line variable in InitFrames() (coverity id 213) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/stackwalk.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/unix/stackwalk.cpp b/src/unix/stackwalk.cpp index 6b8b6051c1..34c812366d 100644 --- a/src/unix/stackwalk.cpp +++ b/src/unix/stackwalk.cpp @@ -239,8 +239,9 @@ int wxStackWalker::InitFrames(wxStackFrame *arr, size_t n, void **addresses, cha // parse addr2line output (should be exactly 2 lines for each address) // reusing the g_buf used for building the command line above wxString name, filename; - unsigned long line, curr=0; - for (size_t i=0; i