summaryrefslogtreecommitdiff
path: root/src/path.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-02-16 13:08:55 +0000
committerEdward Thomson <ethomson@github.com>2016-02-17 13:10:33 +0000
commit4fea9cffbda89562bfdcdd58b0162d31ca4feb3e (patch)
treee1de040e8db998c61b57ee0ee75598c325a755e8 /src/path.c
parenta218b2f625874d9d9523f05a86845506c4735e66 (diff)
downloadlibgit2-4fea9cffbda89562bfdcdd58b0162d31ca4feb3e.tar.gz
iterator: assert tree_iterator has a frame
Although a `tree_iterator` that failed to be properly created does not have a frame, all other `tree_iterator`s should. Do not call `pop` in the failure case, but assert that in all other cases there is a frame.
Diffstat (limited to 'src/path.c')
0 files changed, 0 insertions, 0 deletions