aboutsummaryrefslogtreecommitdiff
path: root/layers/threading.cpp
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2016-04-28 14:27:19 +1200
committerTobin Ehlis <tobine@google.com>2016-04-28 08:26:44 -0600
commit1b65a150ec6a75b9fca5d7dc88c274bbfb60bd44 (patch)
tree7a67117d477a90aeb10e07458df1f24f6a905a41 /layers/threading.cpp
parent2c9664ec83161cffa0001f1b90a4a377822a399b (diff)
downloadusermoji-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