(fileinit): Invalid cast sct_init(); a call couldn't possibly work.
Luckily, it isn't called. Remove. (ef_fileinit): Unused, remove.
This commit is contained in:
parent
42290db8c8
commit
08e182e132
2 changed files with 1 additions and 3 deletions
|
@ -81,8 +81,6 @@ struct empfile {
|
|||
#define EF_NMAP 222 /* Kinda bogus, but used to describe a newdesmap
|
||||
instead of bmap or map. */
|
||||
|
||||
typedef void (*ef_fileinit) (int, s_char *);
|
||||
|
||||
struct fileinit {
|
||||
void (*init) (int, s_char *);
|
||||
int (*postread) (int, s_char *);
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#include "optlist.h"
|
||||
|
||||
struct fileinit fileinit[EF_MAX] = {
|
||||
{(ef_fileinit)sct_init, sct_postread, sct_prewrite, sect_ca},
|
||||
{0, sct_postread, sct_prewrite, sect_ca},
|
||||
{shp_init, shp_postread, shp_prewrite, ship_ca},
|
||||
{pln_init, pln_postread, pln_prewrite, plane_ca},
|
||||
{lnd_init, lnd_postread, lnd_prewrite, land_ca},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue