removed dead code

This commit is contained in:
elias.bachaalany@gmail.com 2012-04-04 07:45:15 +00:00
parent 0282e67982
commit 4d21b10dc4
2 changed files with 0 additions and 6 deletions

View File

@ -116,10 +116,7 @@ bool pywraps_check_autoscripts(char *buf, size_t bufsize)
{
for ( size_t iext=0; iext < qnumber(exts); ++iext )
{
static char fn[QMAXPATH];
qsnprintf(buf, bufsize, "%s.%s", fns[ifn], exts[iext]);
if ( qfileexist(fn) )
return true;
if ( qfileexist(fns[ifn]) )
{
qstrncpy(buf, fns[ifn], bufsize);

View File

@ -1311,10 +1311,7 @@ bool pywraps_check_autoscripts(char *buf, size_t bufsize)
{
for ( size_t iext=0; iext < qnumber(exts); ++iext )
{
static char fn[QMAXPATH];
qsnprintf(buf, bufsize, "%s.%s", fns[ifn], exts[iext]);
if ( qfileexist(fn) )
return true;
if ( qfileexist(fns[ifn]) )
{
qstrncpy(buf, fns[ifn], bufsize);