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:
1 parent
20dc9454b3
commit
46e7f08daa
1 file changed
+1
-1
@@ -2683,7 +2683,7 @@ ostree_repo_load_file (OstreeRepo *self,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int objdir_fd; /* referenced */
|
int objdir_fd = -1; /* referenced */
|
||||||
if (!stat_bare_content_object (self, loose_path_buf,
|
if (!stat_bare_content_object (self, loose_path_buf,
|
||||||
&objdir_fd,
|
&objdir_fd,
|
||||||
&ret_file_info,
|
&ret_file_info,
|
||||||
|
|||||||
Reference in new issue
Block a user