]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
* fixed warning
authormattn <mattn>
Thu, 26 Jun 2008 11:40:00 +0000 (11:40 +0000)
committermattn <mattn>
Thu, 26 Jun 2008 11:40:00 +0000 (11:40 +0000)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@277 8a3a26a2-13c4-0310-b231-cf6edde360e5

libs/picomodel/pm_ase.c

index fc0a6d3bc6621d4cff5b306e6127e856c67e0c11..c8465ce6cf01c391dbc38a30e7f309e3aaddcd46 100644 (file)
@@ -712,7 +712,7 @@ static picoModel_t *_ase_load( PM_PARAMS_LOAD )
                else if( !_pico_stricmp( p->token, "*material" ) )
                {
                        aseSubMaterial_t*       subMaterial = NULL;
                else if( !_pico_stricmp( p->token, "*material" ) )
                {
                        aseSubMaterial_t*       subMaterial = NULL;
-                       picoShader_t            *shader;
+                       picoShader_t            *shader = NULL;
                        int                                     level = 1, index;
                        char                            materialName[ 1024 ];
                        float                           transValue = 0.0f, shineValue = 1.0f;
                        int                                     level = 1, index;
                        char                            materialName[ 1024 ];
                        float                           transValue = 0.0f, shineValue = 1.0f;