diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-11-03 17:17:24 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-11-03 17:17:24 +0000 |
commit | c95f1d1ff951fdfea9057952ecadb25884ba8daa (patch) | |
tree | 0060f95405cf4a918dc30d79e3b1421236bde6cb | |
parent | 01943062b4f669309d75c9dccf373a798f73751f (diff) | |
download | rtmux-c95f1d1ff951fdfea9057952ecadb25884ba8daa.tar.gz rtmux-c95f1d1ff951fdfea9057952ecadb25884ba8daa.tar.bz2 rtmux-c95f1d1ff951fdfea9057952ecadb25884ba8daa.zip |
tv member of struct paste_buffer is updated but not otherwise used, so remove
it.
-rw-r--r-- | paste.c | 4 | ||||
-rw-r--r-- | tmux.h | 1 |
2 files changed, 0 insertions, 5 deletions
@@ -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); } @@ -893,7 +893,6 @@ struct layout_cell { struct paste_buffer { char *data; size_t size; - struct timeval tv; }; ARRAY_DECL(paste_stack, struct paste_buffer *); |