]> git.ipfire.org Git - thirdparty/util-linux.git/commit
scriptlive: fix compiler warnings [-Wmaybe-uninitialized]
authorKarel Zak <kzak@redhat.com>
Mon, 14 Dec 2020 14:56:55 +0000 (15:56 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 10 Feb 2021 09:42:07 +0000 (10:42 +0100)
commit2c268ffe038d955de60ca1fdd6fc0fd4b18b1749
tree6a057edde47c393b4ed5027a357195db30c6b2e5
parent9a768132e5ef7f15c317b55985b650df3eb7226e
scriptlive: fix compiler warnings [-Wmaybe-uninitialized]

term-utils/scriptlive.c: In function 'process_next_step':
term-utils/scriptlive.c:125:4: warning: 'now.tv_usec' may be used uninitialized in this function [-Wmaybe-uninitialized]
term-utils/scriptlive.c:122:19: note: 'now.tv_usec' was declared here
term-utils/scriptlive.c:125:4: warning: 'now.tv_sec' may be used uninitialized in this function [-Wmaybe-uninitialized]
term-utils/scriptlive.c:122:19: note: 'now.tv_sec' was declared here

Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/scriptlive.c