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 authored and Atomic Bot committed 2017-06-20 22:27:18 +00:00
1 parent 20dc9454b3
commit 46e7f08daa
1 file changed
+1 -1
+1 -1
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,