summaryrefslogtreecommitdiff
path: root/src/mem.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-04-03 21:54:58 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-04-03 22:09:00 +0200
commit5b12c236cf68a182fb8075c7ec0797c4c64fd60c (patch)
tree26d6b771bf4e764b9beb3ac056acad89f28200b0 /src/mem.c
parent1473145d10a0ba529526897c08eab2fb176dac01 (diff)
downloadcalcurse-5b12c236cf68a182fb8075c7ec0797c4c64fd60c.zip
Remove dead assignments spotted by clang-analyzer.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/mem.c')
-rw-r--r--src/mem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mem.c b/src/mem.c
index 4d40e96..f719f36 100644
--- a/src/mem.c
+++ b/src/mem.c
@@ -82,7 +82,6 @@ stats_add_blk (size_t size, const char *pos)
o->size = (unsigned)size;
o->next = 0;
- i = &mstats.blk;
for (i = &mstats.blk; *i; i = &(*i)->next)
;
o->id = mstats.ncall;