Merge branch 'dd/sparse-fixes'

Compilation fix.

* dd/sparse-fixes:
  progress.c: silence cgcc suggestion about internal linkage
  graph.c: limit linkage of internal variable
  compat/regex: move stdlib.h up in inclusion chain
  test-parse-pathspec-file.c: s/0/NULL/ for pointer type
This commit is contained in:
Junio C Hamano
2020-05-01 13:39:56 -07:00
8 changed files with 16 additions and 15 deletions

View File

@ -484,7 +484,7 @@ static void fmt_merge_msg_sigs(struct strbuf *out)
enum object_type type;
unsigned long size, len;
char *buf = read_object_file(oid, &type, &size);
struct signature_check sigc = { 0 };
struct signature_check sigc = { NULL };
struct strbuf sig = STRBUF_INIT;
if (!buf || type != OBJ_TAG)