a2dp: Fixed warn_unused_result warning
authorMichał Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>
Tue, 30 Apr 2019 10:30:00 +0000 (12:30 +0200)
committerhimanshu <h.himanshu@samsung.com>
Tue, 11 Feb 2020 08:57:47 +0000 (14:27 +0530)
commitddba95613d76c8ad877e579d2c35bd0f76f3c6c0
treedb807933221eedd6c3aba5aabd1283b45f5baebd
parent7e22edc3ffed453fc1403834ed70d9cbcb811bcb
a2dp: Fixed warn_unused_result warning

This used to break builds when using maintainer mode via
./bootstrap-configure:

profiles/audio/a2dp.c:1775:2: error: ignoring return value of
    ‘asprintf’, declared with attribute warn_unused_result
    [-Werror=unused-result]
  asprintf(&sep->path, "%s/sep%d",
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Change-Id: Ice4d01f47db1dcecadf3f0b57361855baad941fb
Signed-off-by: himanshu <h.himanshu@samsung.com>
profiles/audio/a2dp.c