lib: fix xref hash calculation

... to make it do what it says it does.

Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
David Lamparter 2021-03-15 22:52:56 +01:00
parent a3c6749860
commit 833a54b757

View File

@ -93,8 +93,6 @@ static void xref_add_one(const struct xref *xref)
q = memrchr(filename, '/', p - filename);
if (q)
filename = q + 1;
else
filename = p + 1;
}
SHA256_Init(&sha);