summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-07-15 12:30:08 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-07-15 12:31:21 +0200
commitbf4c113e179650c07a8f95a14d71f365dbfe66e4 (patch)
tree8a637e36da535c216f40717a9480c6d4fe70f0fc /Makefile.am
parentab822b624bc48410c8d7bd3be1c88c399a44adae (diff)
sd-device: never return NULL+0
It is highly confusing if a getter function returns 0, but the value is set to NULL. This, right now, triggers assertions as code relies on the returned values to be non-NULL. Like with sd-bus-creds and friends, return 0 only if a value is actually available. Discussed with Tom, and actually fixes real bugs as in #512.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions