diff options
author | Scott J. Goldman <scottjg@github.com> | 2013-01-05 18:20:42 -0800 |
---|---|---|
committer | Scott J. Goldman <scottjg@github.com> | 2013-01-05 18:27:24 -0800 |
commit | f9b55bcb5f9fd8c41c74d4be58ebaad13aa9b7f3 (patch) | |
tree | 31f8fe78d1f215cd3ce34b3a1e2adaf79daf113b /tests-clar/diff/patch.c | |
parent | d74b1bc5292a438d68d802082825cbf3a6661074 (diff) | |
download | libgit2-f9b55bcb5f9fd8c41c74d4be58ebaad13aa9b7f3.tar.gz |
git_mwindow_file_deregister() shouldn't return errors
As a function that appears to only be called on error paths, I don't
think it makes sense for it to return an error, or clobber the global
giterr. Note that no existing callsites actually check the return
code.
In my own application, there are errors where the real error ends
up being hidden, as git_mwindow_file_deregister() clobbers the
global giterr. I'm not sure this error is even relevant?
Diffstat (limited to 'tests-clar/diff/patch.c')
0 files changed, 0 insertions, 0 deletions