diff options
| author | 2005-04-26 00:58:31 +0000 | |
|---|---|---|
| committer | 2005-04-26 00:58:31 +0000 | |
| commit | b6f5d703b010fa5e4cd1d082ea70fe0cc27fb9e9 (patch) | |
| tree | a4968276af8ce4ab6d5281af8355cbab96b67934 /src/inspircd_io.cpp | |
| parent | Fixed include issue (diff) | |
| download | inspircd++-b6f5d703b010fa5e4cd1d082ea70fe0cc27fb9e9.tar.gz inspircd++-b6f5d703b010fa5e4cd1d082ea70fe0cc27fb9e9.tar.bz2 inspircd++-b6f5d703b010fa5e4cd1d082ea70fe0cc27fb9e9.zip | |
Major code tidyup (-W) - expect a few belches
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1190 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd_io.cpp')
| -rw-r--r-- | src/inspircd_io.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index 79e912175..03596b4bc 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -340,8 +340,7 @@ int EnumConf(std::stringstream *config, const char* tag) { int ptr = 0; char buffer[MAXBUF], c_tag[MAXBUF], c, lastc; - int in_token, in_quotes, tptr, j, idx = 0; - char* key; + int in_token, in_quotes, tptr, idx = 0; const char* buf = config->str().c_str(); long bptr = 0; @@ -411,8 +410,7 @@ int EnumValues(std::stringstream *config, const char* tag, int index) { int ptr = 0; char buffer[MAXBUF], c_tag[MAXBUF], c, lastc; - int in_token, in_quotes, tptr, j, idx = 0; - char* key; + int in_token, in_quotes, tptr, idx = 0; bool correct_tag = false; int num_items = 0; |
