git clone https://orangeshoelaces.net/git/ii.git
Author: Nico Golde on 02/04/2007
Committer: Nico Golde on 02/04/2007
initialization
ii.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ii.c b/ii.c
index e116064..be60b43 100644
--- a/ii.c
+++ b/ii.c
@@ -377,7 +377,7 @@ static void proc_server_cmd(char *buf) {
static int read_line(int fd, size_t res_len, char *buf) {
size_t i = 0;
- char c;
+ char c = 0;
do {
if(read(fd, &c, sizeof(char)) != sizeof(char))
return -1;