summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorgeniusdex 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
committergeniusdex 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
commit6825c4c6dc0e88df7647275852227fcdc9f63b45 (patch)
tree03f3f67094403b7f004a37145280112ccad60e95 /src/config.c
parentea554c0f001e17abcd49827d1b4108a0ca229224 (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/config.c')
-rw-r--r--src/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c
index 198860138..b6f0816e3 100644
--- a/src/config.c
+++ b/src/config.c
@@ -804,7 +804,7 @@ int parse_directive(Directive * d, char *dir, int ac, char *av[MAXPARAMS],
int parse(char *buf, int linenum, int reload)
{
char *s, *t, *dir;
- int i, n, optind, val;
+ int n;
int retval = 1;
int ac = 0;
char *av[MAXPARAMS];
@@ -858,7 +858,7 @@ int parse(char *buf, int linenum, int reload)
if (n == lenof(directives)) {
/* error(linenum, "Unknown directive `%s'", dir);
- return 1; /* don't cause abort */
+ return 1; *//* don't cause abort */
}
return retval;