summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/utxdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/utxdb.c')
-rw-r--r--lib/libc/gen/utxdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/gen/utxdb.c b/lib/libc/gen/utxdb.c
index 6a85c05..743629d 100644
--- a/lib/libc/gen/utxdb.c
+++ b/lib/libc/gen/utxdb.c
@@ -132,9 +132,8 @@ futx_to_utx(const struct futx *fu)
ut = calloc(1, sizeof *ut);
if (ut == NULL)
return (NULL);
- } else {
+ } else
memset(ut, 0, sizeof *ut);
- }
switch (fu->fu_type) {
case BOOT_TIME:
OpenPOWER on IntegriCloud