ostreedev / ostree

Operating system and container binary deployment and upgrades
https://ostreedev.github.io/ostree/
Other
1.27k stars 291 forks source link

Possible uninitialized variable used #441

Closed hadess closed 8 years ago

hadess commented 8 years ago
src/libostree/ostree-repo-commit.c: In function 'ostree_repo_write_commit_detached_metadata':
src/libostree/ostree-repo-commit.c:2084:6: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if (data == NULL)
      ^
cgwalters commented 8 years ago

Was just fixed in https://github.com/ostreedev/ostree/pull/431