]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(binary_operator) [LINT]: Initialize lt and rt to 0.
authorJim Meyering <jim@meyering.net>
Thu, 7 Apr 2005 20:10:03 +0000 (20:10 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 7 Apr 2005 20:10:03 +0000 (20:10 +0000)
src/test.c

index c0edcd51351078c915685b1c152bcf412476c606..98feaafbb49aa5a0285a35ccc8469a0db832b32f 100644 (file)
@@ -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)