diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-11-03 08:48:49 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-05 04:42:11 (GMT) |
commit | f5c4a9af45fa47130c730a5da87e030d040f000b (patch) | |
tree | 941bb1606815abbec36b4ba2c7e03979ad57d6f2 /run-command.c | |
parent | 88168b9b43a17d5f7712d15cf5ccfed517eb4470 (diff) | |
download | git-f5c4a9af45fa47130c730a5da87e030d040f000b.zip git-f5c4a9af45fa47130c730a5da87e030d040f000b.tar.gz git-f5c4a9af45fa47130c730a5da87e030d040f000b.tar.bz2 |
read-cache.c: initialize copy_len to shut up gcc 8
It was reported that when building with NO_PTHREADS=1,
-Wmaybe-uninitialized is triggered. Just initialize the variable from
the beginning to shut the compiler up (because this warning is enabled
in config.dev)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.c')
0 files changed, 0 insertions, 0 deletions