diff options
| author | Chris Forbes <chrisforbes@google.com> | 2016-04-28 14:27:19 +1200 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-04-28 08:26:44 -0600 |
| commit | 1b65a150ec6a75b9fca5d7dc88c274bbfb60bd44 (patch) | |
| tree | 7a67117d477a90aeb10e07458df1f24f6a905a41 /layers/threading.cpp | |
| parent | 2c9664ec83161cffa0001f1b90a4a377822a399b (diff) | |
| download | usermoji-1b65a150ec6a75b9fca5d7dc88c274bbfb60bd44.tar.xz | |
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>
Diffstat (limited to 'layers/threading.cpp')
0 files changed, 0 insertions, 0 deletions
