diff options
| author | David Lamparter <equinox@diac24.net> | 2021-03-15 22:52:56 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2021-03-22 12:50:27 +0100 |
| commit | 833a54b757db3de1b32979b5561bdfef68c01964 (patch) | |
| tree | a2960b8d30a7dbce7c51209df5f5840d54f521cf /lib | |
| parent | a3c67498603dbba7030d2cefe3395840a87e3f8d (diff) | |
lib: fix xref hash calculation
... to make it do what it says it does.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/xref.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/xref.c b/lib/xref.c index 40efe51363..a41f91a228 100644 --- a/lib/xref.c +++ b/lib/xref.c @@ -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); |
