diff options
| author | 2008-02-11 09:45:44 +0000 | |
|---|---|---|
| committer | 2008-02-11 09:45:44 +0000 | |
| commit | 25c8c8ba0247236f660bbbbfc665ae735f88fc31 (patch) | |
| tree | 18ac6d54a13f6265225ebf2fc0a590fc34478bb5 /src/modules/m_swhois.cpp | |
| parent | Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ... (diff) | |
| download | inspircd++-25c8c8ba0247236f660bbbbfc665ae735f88fc31.tar.gz inspircd++-25c8c8ba0247236f660bbbbfc665ae735f88fc31.tar.bz2 inspircd++-25c8c8ba0247236f660bbbbfc665ae735f88fc31.zip | |
More -Wshadow fixes.. not really finished yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8893 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_swhois.cpp')
| -rw-r--r-- | src/modules/m_swhois.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 7247f579b..44acd1487 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -204,8 +204,8 @@ class ModuleSWhois : public Module std::string* text; if (!dest->GetExt("swhois", text)) { - std::string* text = new std::string(extdata); - dest->Extend("swhois",text); + std::string* text2 = new std::string(extdata); + dest->Extend("swhois",text2); } } } |
