diff options
author | Will Johansson | 2014-12-15 12:51:29 +0100 |
---|---|---|
committer | Karel Zak | 2014-12-18 11:02:08 +0100 |
commit | ecc5632f09b15d10bb4031750e4e0abf83a71f6e (patch) | |
tree | 4fb62309072c9b299b993c04da7e0a66ba119f6f /lib/terminal-colors.d.5 | |
parent | libmount: allow unspecified source on remount (diff) | |
download | kernel-qcow2-util-linux-ecc5632f09b15d10bb4031750e4e0abf83a71f6e.tar.gz kernel-qcow2-util-linux-ecc5632f09b15d10bb4031750e4e0abf83a71f6e.tar.xz kernel-qcow2-util-linux-ecc5632f09b15d10bb4031750e4e0abf83a71f6e.zip |
login: Fix unused variables in login.c if _HAVE_UT_TV isn't defined
Wrap around the variable declaration for `tv' with ifdef so the compilers
don't warn about unused variables if we're compiling without UT_TV. This
happens with the musl libc, since it doesn't define _HAVE_UT_TV, even
though it _does_ have the ut_tv field in the utmp struct.
Signed-off-by: Will Johansson <will.johansson@gmail.com>
Diffstat (limited to 'lib/terminal-colors.d.5')
0 files changed, 0 insertions, 0 deletions