Formerly read.c.~52~

This commit is contained in:
Roland McGrath 1993-02-01 00:24:58 +00:00
parent 3c516ccd35
commit afa97833cc

4
read.c
View File

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