repo: Squash a gcc `-Wmaybe-uninitialized` warning

It's spurious, but unfortunately GCC doesn't currently understand that it will
always be set.

Closes: #943
Approved by: jlebon
This commit is contained in:
Colin Walters 2017-06-19 10:54:05 -04:00 committed by Atomic Bot
parent 20dc9454b3
commit 46e7f08daa
1 changed files with 1 additions and 1 deletions

View File

@ -2683,7 +2683,7 @@ ostree_repo_load_file (OstreeRepo *self,
}
else
{
int objdir_fd; /* referenced */
int objdir_fd = -1; /* referenced */
if (!stat_bare_content_object (self, loose_path_buf,
&objdir_fd,
&ret_file_info,