diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-04-01 08:25:16 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-04-01 08:25:16 -0500 |
commit | 665bf3512b105c4fb0393b7af0c42caff3992304 (patch) | |
tree | 0c3526f88241fdf34efd78b9c91c522c777a2125 /gcc/gcc.c | |
parent | d0d99d5f3e9c88f4e692cd013317b01674398cc0 (diff) | |
download | gcc-665bf3512b105c4fb0393b7af0c42caff3992304.zip gcc-665bf3512b105c4fb0393b7af0c42caff3992304.tar.gz gcc-665bf3512b105c4fb0393b7af0c42caff3992304.tar.bz2 |
(print_multilib_info): Don't use LAST_PATH if not set.
From-SVN: r9281
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5202,7 +5202,7 @@ static void print_multilib_info () { char *p = multilib_select; - char *last_path, *this_path; + char *last_path = 0, *this_path; int skip, use_arg; int last_path_len = 0; @@ -5225,7 +5225,7 @@ print_multilib_info () } /* If this is a duplicate, skip it. */ - skip = (p - this_path == last_path_len + skip = (last_path != 0 && p - this_path == last_path_len && ! strncmp (last_path, this_path, last_path_len)); last_path = this_path; |