diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-04-10 11:15:12 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-04-12 18:16:35 -0400 |
commit | c9853d8cda5d28e27ea4ef61630ddab88d85f68f (patch) | |
tree | b8532299229b4dbc7e706cd22430df079c16f0fd /src/shared/path-util.h | |
parent | 461300d949a1a50a665d69ba68c03160e65e6bf4 (diff) |
hashmap: return NULL from destructor
We _always_ return NULL from destructors to allow direct assignments to
the variable holding the object. Especially on hashmaps, which treat NULL
as empty hashmap, this is pretty neat.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/path-util.h')
0 files changed, 0 insertions, 0 deletions