From b2a6e3dcc0c3be9bec9424d6c84753d134bb513b Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 10 Aug 2020 22:26:45 +0200 Subject: seq: blaze822_seq_load: remove dead assignment Found by scan-build/clang 10.0.0 --- seq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seq.c b/seq.c index a75ee3f..35accdb 100644 --- a/seq.c +++ b/seq.c @@ -114,10 +114,10 @@ blaze822_seq_load(char *map) if (!f) return -1; - struct msgnum key, **result; + struct msgnum key; key.file = f; - if (!(result = tfind(&key, &msgnums, msgnumorder))) { + if (!tfind(&key, &msgnums, msgnumorder)) { struct msgnum *c = malloc(sizeof (struct msgnum)); c->file = f; c->pos = line; -- cgit 1.4.1