Print this page
10138 smatch fixes for usr/src/cmd/sgs

@@ -831,16 +831,10 @@
                 "%s: %s: no symbol table data\n", prog_name, filename);
                 return;
         }
         sym_size = sym_data->d_size;
 
-        if (p_scns == NULL) {
-                (void) fprintf(stderr,
-                "%s: %s: no section table data\n", prog_name, filename);
-                return;
-        }
-
         if (p_scns->p_shdr.sh_type == SHT_RELA) {
                 if (!n_flag && r_flag)
                         (void) printf("\n%s:\n", p_scns->scn_name);
                 if (!p_flag && (!n_flag && r_flag))
                         (void) printf("%-*s%-*s%-*s%s\n\n",