Commit 8822485c authored by Antonio J. Pena's avatar Antonio J. Pena
Browse files

Fix warning in mpltrmem.c

Fixes the following warning (with --enable-strict):

src/mpltrmem.c: In function 'MPL_trdump':
src/mpltrmem.c:584:14: warning: variable 'old_head' set but not used

See ticket #1966

Modifications by: Wesley Bland <>
Signed-off-by: default avatarWesley Bland <>
parent 65a3af43
......@@ -581,7 +581,9 @@ Input Parameters:
void MPL_trdump(FILE * fp, int minid)
TRSPACE *head;
TRSPACE *old_head;
char hexstring[MAX_ADDRESS_CHARS];
if (fp == 0)
......@@ -607,7 +609,9 @@ void MPL_trdump(FILE * fp, int minid)
fprintf(fp, "%s[%d]\n", head->fname, head->lineno);
old_head = head;
head = head->next;
MPL_VG_MAKE_MEM_NOACCESS(old_head, sizeof(*old_head));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment