- fixed some GCC warnings.

SVN r1738 (trunk)
This commit is contained in:
Christoph Oelckers 2009-07-25 15:00:45 +00:00
commit 1c8d442c32
3 changed files with 7 additions and 5 deletions

View file

@ -2354,6 +2354,8 @@ static bool LoadDehSupp ()
{
sc.MustGetString();
DEHSprName s;
// initialize with zeroes
memset(&s, 0, sizeof(s));
if (strlen(sc.String) ==4)
{
s.c[0] = sc.String[0];