summaryrefslogtreecommitdiff
path: root/tests/diff/blob.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-11-12 14:09:24 +0000
committerPatrick Steinhardt <ps@pks.im>2018-06-22 09:47:07 +0200
commit83b5f161facf117681df47cbeeb13b95dc3ea9c5 (patch)
tree67e42c1ea8ad115985d6e5103b4fef62315a9dbb /tests/diff/blob.c
parente51e29e84c16f7a5d9079c2dc645301a54fdb172 (diff)
downloadlibgit2-83b5f161facf117681df47cbeeb13b95dc3ea9c5.tar.gz
config_parse: always sanitize out-parameters in `parse_variable`
The `parse_variable` function has two out parameters `var_name` and `var_value`. Currently, those are not being sanitized to `NULL`. when. any error happens inside of the `parse_variable` function. Fix that. While at it, the coding style is improved to match our usual coding practices more closely.
Diffstat (limited to 'tests/diff/blob.c')
0 files changed, 0 insertions, 0 deletions