X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2Fmcs51%2Flklibr.c;h=32c22d572deac2f5c6413f49601430e2c6ae93b4;hb=7942cea7bfeb130ce6ba4eb3a786beed371ec559;hp=07028e7995395972584a98ba059407dcfe371ac3;hpb=2a11a00cc529e259348dbac1f651b32b0ccfc4d3;p=fw%2Fsdcc diff --git a/as/mcs51/lklibr.c b/as/mcs51/lklibr.c index 07028e79..32c22d57 100644 --- a/as/mcs51/lklibr.c +++ b/as/mcs51/lklibr.c @@ -661,6 +661,7 @@ int fndsym( char *name ) /* Iterate through all library object files */ ThisLibr = libr.next; + FirstFound = libr.next; /*So gcc stops whining*/ while (ThisLibr) { /* Iterate through all symbols in an object file */