Commit: fb36e4983c533eb972eb9a673f6d4d803e07f05a
Parent: 32b52153ec83f9c7d360a1e590e55abfa8ced57d
Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-06-13 15:43:45
Tree: 7f36940c2af7c1d8ee1e0b3a1311a266f6c98cf5

HDP: Set error message on error condition Fixes clang warning: ... CC profiles/health/bluetoothd-hdp.o profiles/health/hdp.c:1778:13: warning: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'gerr') "%s", gerr->message); ^~~~~~~~~~~~~ ...

Diffstat

M profiles/health/hdp.c | 5 ++++-

1 files changed, 4 insertions(+), 1 deletions(-)

View Full Diff | Patch