summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/random/random.c2
-rw-r--r--games/random/randomize_fd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/games/random/random.c b/games/random/random.c
index 4ec36c6..99f9d90 100644
--- a/games/random/random.c
+++ b/games/random/random.c
@@ -73,7 +73,7 @@ main(int argc, char *argv[])
denom = 0;
filename = "/dev/fd/0";
random_type = RANDOM_TYPE_UNSET;
- random_exit = randomize_lines = random_type = unbuffer_output = 0;
+ random_exit = randomize_lines = unbuffer_output = 0;
unique_output = 1;
(void)setlocale(LC_CTYPE, "");
diff --git a/games/random/randomize_fd.c b/games/random/randomize_fd.c
index 94881f7..da41769 100644
--- a/games/random/randomize_fd.c
+++ b/games/random/randomize_fd.c
@@ -104,7 +104,7 @@ randomize_fd(int fd, int type, int unique, double denom)
rand_root = rand_tail = NULL;
bufc = i = 0;
- bufleft = eof = fndstr = numnode = ret = 0;
+ bufleft = eof = fndstr = numnode = 0;
if (type == RANDOM_TYPE_UNSET)
type = RANDOM_TYPE_LINES;
OpenPOWER on IntegriCloud