diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-06 09:16:55 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-06 09:16:55 +0000 |
commit | 6825c4c6dc0e88df7647275852227fcdc9f63b45 (patch) | |
tree | 03f3f67094403b7f004a37145280112ccad60e95 /src/modules.c | |
parent | ea554c0f001e17abcd49827d1b4108a0ca229224 (diff) |
BUILD : 1.7.9 (783) BUGS : NOTES : Fixed most compiler warnings for the core (not modules) when using make strict
git-svn-id: svn://svn.anope.org/anope/trunk@783 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@543 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r-- | src/modules.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules.c b/src/modules.c index 60dffdb10..a32845f27 100644 --- a/src/modules.c +++ b/src/modules.c @@ -1896,7 +1896,6 @@ void moduleDisplayHelp(int service, User * u) { #ifdef USE_MODULES int idx; - int header_shown = 0; ModuleHash *current = NULL; Module *calling_module = mod_current_module; char *calling_module_name = mod_current_module_name; @@ -2300,12 +2299,10 @@ int moduleGetConfigDirective(Directive * d) char *dir; char buf[1024]; int linenum = 0; - int i; - int optind = 0; int ac = 0; char *av[MAXPARAMS]; char *s, *t; - int retval; + int retval = 1; config = fopen(SERVICES_CONF, "r"); if (!config) { |