diff options
author | kn <kn@cvs.openbsd.org> | 2018-11-11 16:01:22 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2018-11-11 16:01:22 +0000 |
commit | 04faa32e23af6d704894a4dbfbc29b8843620633 (patch) | |
tree | fe219811d6d654638cb21c5611cf4af098f45688 /app/xidle/xidle.c | |
parent | 1a16db3a236c54ccb63194fc5f9a2fe8b45e9e39 (diff) |
Zap unneeded bzero(3) on already zero initialized global data
OK cheloha
Diffstat (limited to 'app/xidle/xidle.c')
-rw-r--r-- | app/xidle/xidle.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/xidle/xidle.c b/app/xidle/xidle.c index 4ff3e4675..891109e51 100644 --- a/app/xidle/xidle.c +++ b/app/xidle/xidle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xidle.c,v 1.6 2018/09/06 07:21:34 matthieu Exp $ */ +/* $OpenBSD: xidle.c,v 1.7 2018/11/11 16:01:21 kn Exp $ */ /* * Copyright (c) 2005 Federico G. Schwindt * Copyright (c) 2005 Claudio Castiglia @@ -344,9 +344,6 @@ main(int argc, char **argv) int fd; u_long last_serial = 0; - bzero(&x, sizeof(struct xinfo)); - - parse_opts(argc, argv, &x.dpy, &area, &delay, &timeout, &position, args); |