From dd037c725ea3069ec777726da306a167c27fd985 Mon Sep 17 00:00:00 2001 From: Marcus Weseloh Date: Sun, 14 Mar 2021 21:31:27 +0100 Subject: [PATCH] Rename p in load_ibag to inst_list --- src/sfloader/fluid_sffile.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/sfloader/fluid_sffile.c b/src/sfloader/fluid_sffile.c index 20198ca0..8b8147c8 100644 --- a/src/sfloader/fluid_sffile.c +++ b/src/sfloader/fluid_sffile.c @@ -1673,7 +1673,7 @@ static int load_ihdr(SFData *sf, unsigned int size) /* instrument bag loader */ static int load_ibag(SFData *sf, int size) { - fluid_list_t *p; + fluid_list_t *inst_list; fluid_list_t *zone_list; SFZone *z, *pz = NULL; unsigned short genndx, modndx, pgenndx = 0, pmodndx = 0; @@ -1685,12 +1685,12 @@ static int load_ibag(SFData *sf, int size) return FALSE; } - p = sf->inst; + inst_list = sf->inst; - while(p) + while(inst_list) { /* traverse through inst */ - zone_list = ((SFInst *)(p->data))->zone; + zone_list = ((SFInst *)(inst_list->data))->zone; while(zone_list) { @@ -1750,7 +1750,7 @@ static int load_ibag(SFData *sf, int size) zone_list = fluid_list_next(zone_list); } - p = fluid_list_next(p); + inst_list = fluid_list_next(inst_list); } size -= SF_BAG_SIZE;