basic: drop unnecessary strempty() call in replace_env
authorRay Strode <rstrode@redhat.com>
Tue, 9 Aug 2016 14:39:15 +0000 (10:39 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 20 Feb 2017 23:49:14 +0000 (18:49 -0500)
commitd8ad241f54b8c4ac76aafd960d89b47b0ed87fb6
tree75a8aa7c0d49b11547a6294e43f8fe79dcc1fab7
parent6162512cde54244127da547917d0e6d5d0a378c3
basic: drop unnecessary strempty() call in replace_env

strempty() converts a NULL value to empty string, so
that it can be passed on to functions that don't support NULL.

replace_env calls strempty before passing its value on to strappend.

strappend supports NULL just fine, though, so this commit drops the
strempty call.
src/basic/env-util.c