Commit d75074f4 by Michael Schubert

Fix -Wmaybe-uninitialized warning

parent 63f6c825
......@@ -59,7 +59,7 @@ static int blob_content_to_file(
mode_t entry_filemode,
git_checkout_opts *opts)
{
int error, nb_filters = 0;
int error = -1, nb_filters = 0;
mode_t file_mode = opts->file_mode;
bool dont_free_filtered = false;
git_buf unfiltered = GIT_BUF_INIT, filtered = GIT_BUF_INIT;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment