Bug 102

Summary: Warnings are generated when the assert macro is compiled out
Product: PulseView Reporter: Joel Holdsworth <joel>
Component: Build systemAssignee: Nobody <nobody>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 45    

Description Joel Holdsworth 2013-04-22 14:03:25 CEST
From uwe_ this compile error when the assert( ) macro is compiled out:

pv/sigsession.cpp: In member function 'void pv::SigSession::feed_in_header(const sr_dev_inst*)':
pv/sigsession.cpp:222:12: warning: unused variable 'ret' [-Wunused-variable]
pv/dialogs/connect.cpp: In member function 'void pv::dialogs::Connect::populate_drivers()':
pv/dialogs/connect.cpp:103:5: warning: 'hwopts' may be used uninitialized in this function [-Wmaybe-uninitialized]

uwe_: one might be related to that (IMHO incorrect) assert