diff options
| author | Patrick Steinhardt <ps@pks.im> | 2018-02-08 17:15:33 +0000 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2018-02-08 17:15:33 +0000 |
| commit | ba4faf6e492fae42fd948be1013dc6d328d5f65a (patch) | |
| tree | ac65f9f2b01029dc5b266445bb9e0ba8f8ca8446 /src/refdb_fs.c | |
| parent | 2eea5f1cb8a75be997636ebc57c8166f05b324d7 (diff) | |
| download | libgit2-ba4faf6e492fae42fd948be1013dc6d328d5f65a.tar.gz | |
buf_text: remove `offset` parameter of BOM detection function
The function to detect a BOM takes an offset where it shall look for a
BOM. No caller uses that, and searching for the BOM in the middle of a
buffer seems to be very unlikely, as a BOM should only ever exist at
file start.
Remove the parameter, as it has already caused confusion due to its
weirdness.
Diffstat (limited to 'src/refdb_fs.c')
0 files changed, 0 insertions, 0 deletions
