mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-08 14:18:35 +02:00
gui/moviebrowser: Never call a local variable 'errno'.
This commit is contained in:
@@ -2845,9 +2845,9 @@ bool CMovieBrowser::delFile_vlc(CFile& /*file*/)
|
|||||||
bool CMovieBrowser::delFile_std(CFile& file)
|
bool CMovieBrowser::delFile_std(CFile& file)
|
||||||
{
|
{
|
||||||
bool result = true;
|
bool result = true;
|
||||||
int errno = unlink(file.Name.c_str());
|
int err = unlink(file.Name.c_str());
|
||||||
TRACE(" delete file: %s\r\n",file.Name.c_str());
|
TRACE(" delete file: %s\r\n",file.Name.c_str());
|
||||||
if(errno)
|
if(err)
|
||||||
result = false;
|
result = false;
|
||||||
return(result);
|
return(result);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user