summaryrefslogtreecommitdiffstats
path: root/games/random/random.c
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2010-06-14 13:03:25 +0000
committeruqs <uqs@FreeBSD.org>2010-06-14 13:03:25 +0000
commitda0290f8d3606ed387adb04fec5d24de81a39032 (patch)
treedc16bd17543aa53d85a4fefebff6e85988476445 /games/random/random.c
parent6586564ab79e4eea8e794175c8a3f48a7f34d36d (diff)
downloadFreeBSD-src-da0290f8d3606ed387adb04fec5d24de81a39032.zip
FreeBSD-src-da0290f8d3606ed387adb04fec5d24de81a39032.tar.gz
random(6): avoid dead assignments
Found by: clang static analyzer
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 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, "");
OpenPOWER on IntegriCloud