summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-04 17:04:08 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-04 17:04:08 +0000
commit988784816b1a21b20da99a20c8ca02de793000fd (patch)
tree75e8592bb4d380b38d8ef595ed935ada739d9407
parent3f60750d77680c22788dcd12e615c0190a81ee41 (diff)
GCC 4.5 warning fixups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12241 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xmake/calcdep.pl2
-rw-r--r--src/users.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/make/calcdep.pl b/make/calcdep.pl
index 587bd64de..1a1963b31 100755
--- a/make/calcdep.pl
+++ b/make/calcdep.pl
@@ -100,7 +100,7 @@ commands: $cmds
modules: $mods
-.PHONY: inspircd commands modules
+.PHONY: all bad-target inspircd commands modules
END
}
diff --git a/src/users.cpp b/src/users.cpp
index 98c362f95..cb8243934 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -104,7 +104,7 @@ std::string User::ProcessNoticeMasks(const char *sm)
break;
}
- *c++;
+ c++;
}
std::string s = this->FormatNoticeMasks();