Mercurial > hg > xemacs-beta
comparison src/alloc.c @ 5062:151d425f8ef0
fix compile warning
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-02-22 Ben Wing <ben@xemacs.org>
* alloc.c (object_memory_usage_stats):
Remove unused var.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Mon, 22 Feb 2010 06:56:35 -0600 |
parents | c8f90d61dcf3 |
children | 2a462149bd6a |
comparison
equal
deleted
inserted
replaced
5061:e7b120e28b49 | 5062:151d425f8ef0 |
---|---|
4535 { | 4535 { |
4536 if (lrecord_stats[i].instances_in_use != 0) | 4536 if (lrecord_stats[i].instances_in_use != 0) |
4537 { | 4537 { |
4538 Ascbyte buf[255]; | 4538 Ascbyte buf[255]; |
4539 const Ascbyte *name = lrecord_implementations_table[i]->name; | 4539 const Ascbyte *name = lrecord_implementations_table[i]->name; |
4540 int len = strlen (name); | |
4541 | 4540 |
4542 if (lrecord_stats[i].bytes_in_use_including_overhead != | 4541 if (lrecord_stats[i].bytes_in_use_including_overhead != |
4543 lrecord_stats[i].bytes_in_use) | 4542 lrecord_stats[i].bytes_in_use) |
4544 { | 4543 { |
4545 sprintf (buf, "%s-storage-including-overhead", name); | 4544 sprintf (buf, "%s-storage-including-overhead", name); |