drm-shim: silence warnings
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 25 Apr 2020 09:58:58 +0000 (12:58 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 30 Apr 2020 08:32:54 +0000 (11:32 +0300)
commitfd3c0146723043f66bd18e376fa6526126ff18c0
tree37949cded4a3a256757a2313e76fb51ad47f467e
parent764ef4bf1a6fe0c256859d275c5f922d46217dbc
drm-shim: silence warnings

Matt is seeing a bunch of warnings :

   drm_shim.c:312:4: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]

v2: Add nofail variants of *asprintf (Eric)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4594>
src/drm-shim/drm_shim.c