]> sigrok.org Git - libsigrok.git/commit
Clean up sr_session_load().
authorBert Vermeulen <redacted>
Thu, 2 Oct 2014 09:32:52 +0000 (11:32 +0200)
committerBert Vermeulen <redacted>
Thu, 2 Oct 2014 09:32:52 +0000 (11:32 +0200)
commitd386a52f64e39c9165135aea6ecc613dd665dec7
tree1a65971ea379d786d553cb9b0df91e5923613169
parent98d39b919abff9412c5de9d02a926680d572fb83
Clean up sr_session_load().

This cleans up some warnings generated by clang's static analyzer.
The function now also returns SR_ERR to signify the specified filename
does not point to a valid session file.

Other SR_ERR_* returns indicate a session file was found, but loading
failed.
src/session_file.c