summaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-04-07 20:10:03 +0000
committerJim Meyering <jim@meyering.net>2005-04-07 20:10:03 +0000
commit66374c61eecd64fe4cb033369291a6b617d7e45d (patch)
treecdc128121ee7e48cc59eba7c579698f72d35ebfa /src/test.c
parent3bad149c95f763ed7514b0f07d79fba47d8457d2 (diff)
downloadcoreutils-66374c61eecd64fe4cb033369291a6b617d7e45d.tar.xz
(binary_operator) [LINT]: Initialize lt and rt to 0.
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test.c b/src/test.c
index c0edcd513..98feaafbb 100644
--- a/src/test.c
+++ b/src/test.c
@@ -434,7 +434,8 @@ binary_operator (bool l_is_l)
if (argv[op][2] == 't' && !argv[op][3])
{
/* nt - newer than */
- time_t lt, rt;
+ time_t lt IF_LINT (= 0);
+ time_t rt IF_LINT (= 0);
bool le, re;
pos += 3;
if (l_is_l | r_is_l)
@@ -505,7 +506,8 @@ binary_operator (bool l_is_l)
if ('t' == argv[op][2] && '\000' == argv[op][3])
{
/* ot - older than */
- time_t lt, rt;
+ time_t lt IF_LINT (= 0);
+ time_t rt IF_LINT (= 0);
bool le, re;
pos += 3;
if (l_is_l | r_is_l)