shared/shell: Fix compilation error
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 9 Jan 2019 15:42:47 +0000 (12:42 -0300)
committerhimanshu <h.himanshu@samsung.com>
Wed, 22 Jan 2020 08:53:01 +0000 (14:23 +0530)
commitb4814fa1fac1d11f2b571f72d49ccdc22e82fe18
tree6c9144b323f673eefbb72872cc7afe79e84d81d2
parent438d1e737afaf4fe4c09020d2a0df9c627271eb9
shared/shell: Fix compilation error

asprintf return is not check which is catch by -Werror=unused-result
so in case asprintf fails don't set any prompt.

Change-Id: I8c0e3ea9151f8fb115246bde62a1850b43e7fecf
Signed-off-by: himanshu <h.himanshu@samsung.com>
src/shared/shell.c