[#9709] NIFTI_INTENT_NONE is valid but used as return code in case of failure

Please log in

State: more information
Open
Date:
2020-11-25 09:44
Priority: more information
3
Submitted By:
Chr. Roßmanith (chrrossmanith)
Assigned To: more information
Nobody (None)
Hardware: 
All
Product: 
None
Operating System: 
All
Component: 
None
Version: 
v1.0
Severity: 
None
Resolution: 
None
Summary: more information
NIFTI_INTENT_NONE is valid but used as return code in case of failure

Detailed description

In version 1.09 gifti_io.c states in its history: NIFTI_INTENT_NONE is considered valid (since version 0.16). On the other hand gifti_intent_from_string() returns NIFTI_INTENT_NONE on failure. This prevents to differentiate between NIFTI_INTENT_NONE and an invalid intent code.

Response

No Responses Have Been Posted

Attached Files:

Name Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item