diff options
author | 2009-11-03 17:17:24 +0000 | |
---|---|---|
committer | 2009-11-03 17:17:24 +0000 | |
commit | d28053cccd6981241ef4dd580b875cb22b38019c (patch) | |
tree | 13204c45907e7e8b52aee8cca80151745817adde /usr.bin/tmux/paste.c | |
parent | nicer tables like in other bus man pages (diff) | |
download | wireguard-openbsd-d28053cccd6981241ef4dd580b875cb22b38019c.tar.xz wireguard-openbsd-d28053cccd6981241ef4dd580b875cb22b38019c.zip |
tv member of struct paste_buffer is updated but not otherwise used, so remove
it.
Diffstat (limited to 'usr.bin/tmux/paste.c')
-rw-r--r-- | usr.bin/tmux/paste.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/tmux/paste.c b/usr.bin/tmux/paste.c index a00c876e74f..d7da3e13802 100644 --- a/usr.bin/tmux/paste.c +++ b/usr.bin/tmux/paste.c @@ -1,4 +1,4 @@ -/* $OpenBSD: paste.c,v 1.5 2009/09/20 14:58:12 nicm Exp $ */ +/* $OpenBSD: paste.c,v 1.6 2009/11/03 17:17:24 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -116,8 +116,6 @@ paste_add(struct paste_stack *ps, u_char *data, size_t size, u_int limit) pb->data = data; pb->size = size; - if (gettimeofday(&pb->tv, NULL) != 0) - fatal("gettimeofday failed"); } int @@ -133,8 +131,6 @@ paste_replace(struct paste_stack *ps, u_int idx, u_char *data, size_t size) pb->data = data; pb->size = size; - if (gettimeofday(&pb->tv, NULL) != 0) - fatal("gettimeofday failed"); return (0); } |