diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-11 20:14:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-11 20:14:51 +0000 |
commit | 383b905f5eb834c9573ae41d192d0f90f3aa147e (patch) | |
tree | de6aab6f225c85b491258ff4ca8ec4ec55ae8756 /random.c | |
parent | bb1811d6a3621d04d9f45d137c35b8862135a140 (diff) | |
download | ruby-383b905f5eb834c9573ae41d192d0f90f3aa147e.tar.gz |
* random.c (fill_random_seed): enclosed conditionally used
variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
-rw-r--r-- | random.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -279,8 +279,10 @@ fill_random_seed(unsigned long seed[DEFAULT_SEED_CNT]) { static int n = 0; struct timeval tv; +#ifdef S_ISCHR int fd; struct stat statbuf; +#endif memset(seed, 0, DEFAULT_SEED_LEN); |