]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
script: fix minor warning
authorSami Kerola <kerolasa@iki.fi>
Thu, 13 Feb 2020 20:47:51 +0000 (20:47 +0000)
committerSami Kerola <kerolasa@iki.fi>
Sat, 15 Feb 2020 15:24:01 +0000 (15:24 +0000)
ICO C does not allow extra ‘;’ outside of a function [-Wpedantic]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
term-utils/script-playutils.c

index 78f4d2056ae1486ab7b29eeca4f59ae9bb59e6c4..517c42d6b7b480a51fd521901345cad94fa42dc0 100644 (file)
@@ -98,7 +98,7 @@ static inline void timerinc(struct timeval *a, struct timeval *b)
        timeradd(a, b, &res);
        a->tv_sec = res.tv_sec;
        a->tv_usec = res.tv_usec;
-};
+}
 
 struct replay_setup *replay_new_setup(void)
 {