]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
GCC 4.5 warning fixups
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 4 Jan 2010 17:04:08 +0000 (17:04 +0000)
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 4 Jan 2010 17:04:08 +0000 (17:04 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12241 e03df62e-2008-0410-955e-edbf42e46eb7

make/calcdep.pl
src/users.cpp

index 587bd64dea63d48858606359345a71801dda8f0c..1a1963b3102c9ac5ff5c79c9179d47400d690238 100755 (executable)
@@ -100,7 +100,7 @@ commands: $cmds
 
 modules: $mods
 
-.PHONY: inspircd commands modules
+.PHONY: all bad-target inspircd commands modules
 
 END
 }
index 98c362f95f02e60cb0d164fec9d3f06b2ee10a6f..cb824393468966e4729a3e0494706a78fa264f6a 100644 (file)
@@ -104,7 +104,7 @@ std::string User::ProcessNoticeMasks(const char *sm)
                        break;
                }
 
-               *c++;
+               c++;
        }
 
        std::string s = this->FormatNoticeMasks();