diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-09 16:01:29 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-09 16:01:29 +0200 |
commit | 81be2f467ce679e5e1a4b650ebdfc15ce3a9deb7 (patch) | |
tree | bf1aa343f10b5704c1cf5f186ae2deb06fa3caeb /tests/diff/diff_helpers.h | |
parent | 2785544fb51ec0ee439510f070f769fe66ccfdc7 (diff) | |
download | libgit2-81be2f467ce679e5e1a4b650ebdfc15ce3a9deb7.tar.gz |
ssh: move NULL check to the free function
Let `ssh_stream_free()` take a NULL stream, as free functions should,
and remove the check from the connection setup.
The connection setup would not need the check anyhow, as we always have
a stream by the time we reach this code.
Diffstat (limited to 'tests/diff/diff_helpers.h')
0 files changed, 0 insertions, 0 deletions