summaryrefslogtreecommitdiff
path: root/src/mwindow.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-12-01 10:52:44 +0100
committerPatrick Steinhardt <ps@pks.im>2019-02-15 13:16:48 +0100
commit8da93944f3d3c271ea7a2ec035c6ea48654fa71e (patch)
tree44f45d20c8faaef0715b2683e4457b4abf595f91 /src/mwindow.c
parent661fc57b2cd4bcc1024aa3c6a7ffb3190571685e (diff)
downloadlibgit2-8da93944f3d3c271ea7a2ec035c6ea48654fa71e.tar.gz
idxmap: have `resize` functions return proper error code
The currently existing function `git_idxmap_resize` and `git_idxmap_icase_resize` do not return any error codes at all due to their previous implementation making use of a macro. Due to that, it is impossible to see whether the resize operation might have failed due to an out-of-memory situation. Fix this by providing a proper error code. Adjust callers to make use of it.
Diffstat (limited to 'src/mwindow.c')
0 files changed, 0 insertions, 0 deletions