commit 601f05cdbeb8a43249702cafae41b9dee4811bd6 from: Omar Polo via: Thomas Adam date: Wed Mar 01 14:29:45 2023 UTC add missed `size' initialization for use with getline(3) ok tb@ commit - bbf6b41827fdaa1e6b99aac193ffbc55305afbd3 commit + 601f05cdbeb8a43249702cafae41b9dee4811bd6 blob - ddbcb7a24e9176cc112a20f881d069c75b749a37 blob + d37a1fd485714bd6f5c33874d408479f38c3421e --- lib/diff3.c +++ lib/diff3.c @@ -691,7 +691,7 @@ get_line(char **ret, FILE *b, size_t *n, struct diff3_ { const struct got_error *err = NULL; char *cp = NULL; - size_t size; + size_t size = 0; ssize_t len; char *new;