fix gcc warnings on win32

- some leftover return-values in modrepo.c removed