X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=vrlugburz;a=blobdiff_plain;f=src%2Fscenefile.c;fp=src%2Fscenefile.c;h=dda0499c390416add38224f4fcfa324dd4dd075b;hp=398ce96bf5faa908d86896da6bfa3eefb55d0e3f;hb=95e4bd8e387c3cb9fc325ae922052bf7bc7ae8ea;hpb=5c66bff3dc3b2fdf8b57908de4ebcfc6da6e3597 diff --git a/src/scenefile.c b/src/scenefile.c index 398ce96..dda0499 100644 --- a/src/scenefile.c +++ b/src/scenefile.c @@ -320,7 +320,7 @@ static int load_mtllib(struct scenefile *scn, const char *path_prefix, const cha FILE *fp; char buf[256], *line; struct objmtl om; - struct material *mtl; + struct material *mtl = 0; if(path_prefix && *path_prefix) { sprintf(buf, "%s/%s", path_prefix, mtlfname);