diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-08-10 22:26:45 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-08-10 22:26:45 +0200 |
commit | b2a6e3dcc0c3be9bec9424d6c84753d134bb513b (patch) | |
tree | 7a8c9a346873d16dc0824f1f1a36b36db428e3aa | |
parent | 3f61249c05aca435b545a5f20461125b30f6688b (diff) | |
download | mblaze-b2a6e3dcc0c3be9bec9424d6c84753d134bb513b.tar.gz mblaze-b2a6e3dcc0c3be9bec9424d6c84753d134bb513b.tar.xz mblaze-b2a6e3dcc0c3be9bec9424d6c84753d134bb513b.zip |
seq: blaze822_seq_load: remove dead assignment
Found by scan-build/clang 10.0.0
-rw-r--r-- | seq.c | 4 |
1 files 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; |