[#2869] warning: 'rv' might be used uninitialized in this function

Please log in

State: more information
Closed
Date:
2008-05-01 19:52
Priority: more information
3
Submitted By:
Nick Schmansky (nschmans)
Assigned To: more information
Nobody (None)
Hardware: 
None
Product: 
None
Operating System: 
None
Component: 
None
Version: 
None
Severity: 
None
Resolution: 
None
Summary: more information
warning: 'rv' might be used uninitialized in this function

Detailed description

warnings that appear with gcc. these aren't critical, but freesurfer compiles with -Wall -Werror, so it dies on any warning. these two seem easy to fix (set rv=0):

gifti_tool.c:496: warning: 'rv' might be used uninitialized in this function

and:

gifti_io.c:2090: warning: 'rv' might be used uninitialized in this function




Response

Message

Date: 2008-05-19 20:31
Sender: Nick Schmansky

v1.0.0 initializes these vars

Attached Files:

Name Download
No Files Currently Attached

Changes:

Field Old Value Date By
close_date2008-05-19 20:312008-05-19 20:31nschmans
status_idOpen2008-05-19 20:31nschmans