Initialize ef_type and uid automatically in ef_extend()

New struct emptypedstr to avoid depending on empobj.h there.

Remove now superfluous manual initializations elsewhere.

This doesn't fix any missing initializations.
This commit is contained in:
Markus Armbruster 2008-02-24 11:07:18 +01:00
parent d628679a24
commit 6cd3d55c4e
9 changed files with 28 additions and 32 deletions

View file

@ -47,7 +47,7 @@
struct nwsstr {
/* initial part must match struct empobj */
short ef_type;
short nws_uid; /* unused */
short nws_uid;
/* end of part matching struct empobj */
natid nws_ano; /* "actor" country # */
signed char nws_vrb; /* action (verb) */