aboutsummaryrefslogtreecommitdiff
path: root/games/random
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1999-12-12 06:30:46 +0000
committerBill Fumerola <billf@FreeBSD.org>1999-12-12 06:30:46 +0000
commitc9914211a130f39541d54e14d9bfbea54ae992ab (patch)
treee28041524b695041af21f6f493d3c7c700be1ba1 /games/random
parent6636c9afd03c6dc4ff924567e02913bb1bbdd10a (diff)
-Wall fixes.
Notes
Notes: svn path=/head/; revision=54482
Diffstat (limited to 'games/random')
-rw-r--r--games/random/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/random/random.c b/games/random/random.c
index 8c61588b7af7..8936b5ddb5dc 100644
--- a/games/random/random.c
+++ b/games/random/random.c
@@ -65,12 +65,12 @@ main(argc, argv)
int argc;
char *argv[];
{
- extern int optind;
double denom;
int ch, random_exit, selected, unbuffer_output;
char *ep;
random_exit = unbuffer_output = 0;
+ denom = 0;
while ((ch = getopt(argc, argv, "er")) != -1)
switch (ch) {
case 'e':