From 86ca85f39d8a480198d5712a0ef2ed518088972a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 27 Mar 2020 23:58:49 +0100 Subject: [PATCH] Initialize variable. --- server/TracySourceView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index 81211c5a..44e1c2ea 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -97,7 +97,7 @@ bool SourceView::Disassemble( uint64_t symAddr, const Worker& worker ) auto code = worker.GetSymbolCode( symAddr, len ); if( !code ) return false; csh handle; - cs_err rval; + cs_err rval = CS_ERR_ARCH; switch( arch ) { case CpuArchX86: