]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
script: remove unused variable
authorKarel Zak <kzak@redhat.com>
Thu, 18 Apr 2019 11:21:05 +0000 (13:21 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Oct 2019 11:11:53 +0000 (13:11 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/script.c

index 37725162c0d8564fc6cbce677f4c8d9d79f7aef4..36d9347d55c9b3c37a27de23feb0a77c8080bc80 100644 (file)
@@ -110,13 +110,12 @@ struct script_log {
        FILE    *fp;                    /* file pointer (handler) */
        int     format;                 /* SCRIPT_FMT_* */
        char    *filename;              /* on command line specified name */
-       struct timeval oldtime;         /* previous entry log time */
+       struct timeval oldtime;         /* previous entry log time (SCRIPT_FMT_TIMING_* only) */
 
        unsigned int    initialized : 1;
 };
 
 struct script_stream {
-       struct timeval oldtime;         /* last update */
        struct script_log **logs;       /* logs where to write data from stream */
        size_t nlogs;                   /* number of logs */
        char ident;                     /* stream identifier */