X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=dir.c;h=d1e5e5e5bfaea81cb46fc3e3f57df31c6ef1eb2a;hb=1e633418479926bc85ed21a4f91c845a3dd3ad66;hp=133f472a1e73786e781c1021eea17e543858937f;hpb=8fbe9b32ce6f5e12ba3f8b9d4e3ccb0b8acf529f;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);