Can using the init [function](https://libgit2.org/libgit2/#HEAD/group/blob/git_blob_filter_options_init) and [this](https://libgit2.org/libgit2/#HEAD/group/diff/git_diff_options_init) instead of assignment init fix the warnings?
Good point, now done. It's sad to have to make "useless" calls like so, but it's worth it here.