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/xref.c | |
parent | lib: add [XXXXX-XXXXX] log prefix & config (diff) | |
download | frr-833a54b757db3de1b32979b5561bdfef68c01964.tar.xz frr-833a54b757db3de1b32979b5561bdfef68c01964.zip |
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/xref.c')
-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 40efe5136..a41f91a22 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); |