diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:17:52 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:17:52 +0000 |
commit | ad7b5bdd30405b92042c4a1872175be80d8d111f (patch) | |
tree | 8cdcd0509d935c1606f14a3f89f407897e2bc3d0 /src/misc.c | |
parent | c4a8cc7e2f3890b8d82051c89748bea80350e8d4 (diff) |
A few GCC 3.4.x and MSVC++ warning fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1839 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/misc.c b/src/misc.c index 5e6f4a4b8..75ed59a30 100644 --- a/src/misc.c +++ b/src/misc.c @@ -951,9 +951,8 @@ static void arc4_addrandom(void *dat, int datlen) */ void rand_init() { - int n; #ifndef _WIN32 - int fd; + int n, fd; #endif struct { #ifdef USE_MYSQL |