diff options
author | Justin Brewer <jzb0012@auburn.edu> | 2018-03-27 13:47:29 -0500 |
---|---|---|
committer | Justin Brewer <jzb0012@auburn.edu> | 2018-04-30 21:45:13 -0500 |
commit | 58e6b87f51ba31b4a2954d0babe6b3cf7019c985 (patch) | |
tree | 7a23385ca8ade22cdf95f2081c9fdcbf2154449e /fmacros.h | |
parent | 54acc8f08759713338b6cb6c94916438bbd91b80 (diff) |
Remove redundant NULL checks
free(NULL) is a valid NOP. Most of the hiredis free functions behave the
same way. redisReaderFree is updated to also be NULL-safe.
There is one redundant NULL check at sds.c:1036, but it's left as is
since sds is imported from upstream.
Signed-off-by: Justin Brewer <jzb0012@auburn.edu>
Diffstat (limited to 'fmacros.h')
0 files changed, 0 insertions, 0 deletions