commit | ed6a1b3b0f1c00603a72fdd90a23b96c239b1b8a | [log] [tgz] |
---|---|---|
author | Chris Forbes <chrisforbes@google.com> | Thu Apr 28 14:27:19 2016 +1200 |
committer | Tobin Ehlis <tobine@google.com> | Thu Apr 28 08:26:44 2016 -0600 |
tree | 106f31297278c04ed7447f7207c819ea65cb5964 | |
parent | 5666b39dc6ed508d9ab2ba3b241925814102d9cf [diff] |
layers: Fix -Wunused-result warning for vasprintf In case of allocation failure, glibc's vasprintf doesn't make any guarantees about the ptr -- the return value is the only way to handle this safely. Signed-off-by: Chris Forbes <chrisforbes@google.com>