mirror of https://github.com/mpv-player/mpv
Remove unused static function fsFileExist, fixes the warning:
gui/mplayer/gtk/fs.c:440: warning: 'fsFileExist' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31046 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6fe158d7e7
commit
aee3f160e3
|
@ -436,14 +436,6 @@ static void fs_Up_released( GtkButton * button, gpointer user_data )
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int fsFileExist( unsigned char * fname )
|
|
||||||
{
|
|
||||||
FILE * f = fopen( fname,"r" );
|
|
||||||
if ( f == NULL ) return 0;
|
|
||||||
fclose( f );
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void fs_Ok_released( GtkButton * button, gpointer user_data )
|
static void fs_Ok_released( GtkButton * button, gpointer user_data )
|
||||||
{
|
{
|
||||||
GList * item;
|
GList * item;
|
||||||
|
|
Loading…
Reference in New Issue