mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-11 09:18:20 +03:00
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:
parent
20dc9454b3
commit
46e7f08daa
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user