]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly read.c.~52~
authorRoland McGrath <roland@redhat.com>
Mon, 1 Feb 1993 00:24:58 +0000 (00:24 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 1 Feb 1993 00:24:58 +0000 (00:24 +0000)
read.c

diff --git a/read.c b/read.c
index 933177874633d158bf9e56ff344173c4dab64b9e..654f77e1ed5997ba4e8aa1e2182f3870c7ef83e0 100644 (file)
--- a/read.c
+++ b/read.c
@@ -539,8 +539,6 @@ read_makefile (filename, type)
            {
              pattern = savestring (p, len);
              p = find_next_token (&p2, &len);
-             if (p != 0)
-               p = savestring (p, len);
              /* No searchpath means remove all previous
                 selective VPATH's with the same pattern.  */
            }
@@ -550,8 +548,6 @@ read_makefile (filename, type)
          construct_vpath_list (pattern, p);
          if (pattern != 0)
            free (pattern);
-         if (p != 0)
-           free (p);
        }
 #undef word1eq
       else if (try_variable_definition (p, o_file))