From 6a6472993243b8ed31781792e8d00c8f2b614039 Mon Sep 17 00:00:00 2001 From: odubaj <44674278+odubaj@users.noreply.github.com> Date: Mon, 11 Mar 2019 10:16:50 +0100 Subject: [PATCH] Update count.c removed memset() before sscanf() - not needed --- count.c | 1 - 1 file changed, 1 deletion(-) diff --git a/count.c b/count.c index 6424baa..3890e92 100644 --- a/count.c +++ b/count.c @@ -496,7 +496,6 @@ __nr_t get_filesystem_nr(void) * read filesystem type, * if filesystem type is autofs, skip it */ - memset(type, 0, sizeof(type)); pos2 = strchr(pos + 1, ' '); if (pos2 == NULL) continue; -- 2.40.0