summaryrefslogtreecommitdiffstats
path: root/games/random
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1999-12-12 06:30:46 +0000
committerbillf <billf@FreeBSD.org>1999-12-12 06:30:46 +0000
commita0c828b06418103b489d750e6b91c4223f9410c6 (patch)
treee1ce06471d8ce520985fcd8ed64d09fa503572cb /games/random
parent9292b471d0966ad014fab7475444d565db490e08 (diff)
downloadFreeBSD-src-a0c828b06418103b489d750e6b91c4223f9410c6.zip
FreeBSD-src-a0c828b06418103b489d750e6b91c4223f9410c6.tar.gz
-Wall fixes.
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 8c61588..8936b5d 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':
OpenPOWER on IntegriCloud