summaryrefslogtreecommitdiffstats
path: root/games/random/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/random/random.c')
-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