| -rw-r--r-- | scan-tree.c | 1 | ||||
| -rw-r--r-- | ui-repolist.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/scan-tree.c b/scan-tree.c index 47f3988..cdafb02 100644 --- a/scan-tree.c +++ b/scan-tree.c @@ -42,7 +42,6 @@ char *readfile(const char *path) if (!(f = fopen(path, "r"))) return NULL; - buf[0] = 0; fgets(buf, MAX_PATH, f); fclose(f); return buf; diff --git a/ui-repolist.c b/ui-repolist.c index 3aedde5..2c13d50 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -23,7 +23,6 @@ time_t read_agefile(char *path) if (!(f = fopen(path, "r"))) return -1; - buf[0] = 0; if (fgets(buf, sizeof(buf), f) == NULL) return -1; fclose(f); |