diff --git a/mongoose.c b/mongoose.c index 5adda6c9..370db40b 100644 --- a/mongoose.c +++ b/mongoose.c @@ -17217,7 +17217,6 @@ static bool mg_tcpip_driver_xmc_up(struct mg_tcpip_if *ifp) { MG_DEBUG(("Link is %uM %s-duplex", speed == MG_PHY_SPEED_10M ? 10 : 100, full_duplex ? "full" : "half")); } - (void) d; return up; } diff --git a/test/Makefile b/test/Makefile index 17b25b7e..4853012a 100644 --- a/test/Makefile +++ b/test/Makefile @@ -190,7 +190,7 @@ install: linux-libs uninstall: rm -rf $(DESTDIR)$(LIBDIR)/libmongoose.a $(DESTDIR)$(LIBDIR)/libmongoose.so.$(VERSION) $(DESTDIR)$(INCLUDEDIR)/mongoose.h $(DESTDIR)$(LIBDIR)/libmongoose.so -mongoose.c: Makefile $(wildcard src/*.c) $(wildcard src/drivers/*.c) +mongoose.c: Makefile $(wildcard ../src/*.c) $(wildcard ../src/drivers/*.c) cd .. && (export LC_ALL=C ; cat src/license.h; echo; echo '#include "mongoose.h"' ; (for F in src/*.c src/drivers/*.c ; do echo; echo '#ifdef MG_ENABLE_LINES'; echo "#line 1 \"$$F\""; echo '#endif'; cat $$F | sed -e 's,#include ".*,,'; done))> $@ mongoose.h: $(HDRS) Makefile