]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/listing.c
Add -Wshadow to the gcc command line options used when compiling the binutils.
[thirdparty/binutils-gdb.git] / gas / listing.c
index 25178b363900086748f87779a54d7af52577244c..93f2b3705bbcee8ff294099c8ff4a8fa59fff221 100644 (file)
@@ -1043,9 +1043,9 @@ print_source (file_info_type *  current_file,
       while (current_file->linenum < list->hll_line
             && !current_file->at_end)
        {
-         cached_line * cache = cached_lines + next_free_line;
          char *p;
 
+         cache = cached_lines + next_free_line;
          cache->file = current_file;
          cache->line = current_file->linenum;
          cache->buffer[0] = 0;