X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=dir.c;h=d1e5e5e5bfaea81cb46fc3e3f57df31c6ef1eb2a;hb=2844923d62a4c408bd59ddb2caacca4aa7eb86bc;hp=133f472a1e73786e781c1021eea17e543858937f;hpb=07cd900112b19657531a1f5c2a15e639d98fbd18;p=git.git diff --git a/dir.c b/dir.c index 133f472a1..d1e5e5e5b 100644 --- a/dir.c +++ b/dir.c @@ -232,7 +232,7 @@ int add_excludes_from_file_to_list(const char *fname, { struct stat st; int fd, i; - size_t size; + size_t size = 0; char *buf, *entry; fd = open(fname, O_RDONLY);