fix warning

'backup_filename_ptr' may be used uninitialized in this function
gcc (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4
CFLAGS=-O2 -pipe
This commit is contained in:
Nedko Arnaudov 2009-11-20 01:39:37 +02:00
parent 74dc3aff1e
commit c9567a3cb0
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ bool studio_compose_filename(const char * name, char ** filename_ptr_ptr, char *
char * p;
const char * src;
char * filename_ptr;
char * backup_filename_ptr;
char * backup_filename_ptr = NULL;
len_dir = strlen(g_studios_dir);