Commit 907bb78f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

When the built-in manual is disabled, we generate a function doing nothing

just to avoid making a totally empty file. Just to avoid compiler warnings.
parent b2e1bf7e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -78,5 +78,7 @@ endif
else # USE_MANUAL
# built-in manual has been disabled, make a blank file
$(HUGE):
	echo "/* explicitly disabled */" >$(HUGE)
	echo "/* built-in manual is disabled, blank function */" > $(HUGE)
	echo '#include "hugehelp.h"' >> $(HUGE)
	echo "void hugehelp(void) {}" >>$(HUGE)
endif