* coff-or32.c (bfd_section_from_shdr): Remove unused local
[binutils-gdb.git] / bfd / cofflink.c
index a1f6684bb61cc1fab98c71c0e5529198fdf71428..c17701c16e8927122a3c1e7f55aaf42d5489cd59 100644 (file)
@@ -1239,9 +1239,7 @@ process_embedded_commands (bfd *output_bfd,
          asection *asec;
          int loop = 1;
          int had_write = 0;
-         int had_read = 0;
          int had_exec= 0;
-         int had_shared= 0;
 
          s += 5;
          s = get_name (s, &name);
@@ -1255,10 +1253,8 @@ process_embedded_commands (bfd *output_bfd,
                  had_write = 1;
                  break;
                case 'R':
-                 had_read = 1;
                  break;
                case 'S':
-                 had_shared = 1;
                  break;
                case 'X':
                  had_exec = 1;