From a617d9c05e1a003187b8d14f4b1dde5123136cd4 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Mon, 23 May 2016 21:25:00 +0200
Subject: [PATCH] tweaks: remove a redundant assignment

---
 src/files.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/files.c b/src/files.c
index a762a0df..836b5e13 100644
--- a/src/files.c
+++ b/src/files.c
@@ -746,7 +746,6 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable, bool checkw
     assert(openfile->fileage != NULL && openfile->current != NULL);
 
     buf = charalloc(bufx);
-    buf[0] = '\0';
 
 #ifndef NANO_TINY
     if (undoable)
-- 
GitLab