1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 07:43:12 +02:00

Removed some unnecessary casts, used C++-style casts over C-style casts, fixed a few warnings (one possibly fatal one).

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2655 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2009-11-17 04:04:24 +00:00
parent 88330c07ad
commit e10fe1cd76
19 changed files with 69 additions and 72 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ int split_buf(char *buf, const char ***argv, int colon_special)
}
if (*buf == ':') {
(*argv)[argc++] = buf + 1;
buf = (char *)""; // XXX: unsafe cast.
buf = const_cast<char *>(""); // XXX: unsafe cast.
} else {
s = strpbrk(buf, " ");
if (s) {