mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-28 03:54:18 +01:00
removed dead code
This commit is contained in:
parent
0282e67982
commit
4d21b10dc4
@ -116,10 +116,7 @@ bool pywraps_check_autoscripts(char *buf, size_t bufsize)
|
|||||||
{
|
{
|
||||||
for ( size_t iext=0; iext < qnumber(exts); ++iext )
|
for ( size_t iext=0; iext < qnumber(exts); ++iext )
|
||||||
{
|
{
|
||||||
static char fn[QMAXPATH];
|
|
||||||
qsnprintf(buf, bufsize, "%s.%s", fns[ifn], exts[iext]);
|
qsnprintf(buf, bufsize, "%s.%s", fns[ifn], exts[iext]);
|
||||||
if ( qfileexist(fn) )
|
|
||||||
return true;
|
|
||||||
if ( qfileexist(fns[ifn]) )
|
if ( qfileexist(fns[ifn]) )
|
||||||
{
|
{
|
||||||
qstrncpy(buf, fns[ifn], bufsize);
|
qstrncpy(buf, fns[ifn], bufsize);
|
||||||
|
@ -1311,10 +1311,7 @@ bool pywraps_check_autoscripts(char *buf, size_t bufsize)
|
|||||||
{
|
{
|
||||||
for ( size_t iext=0; iext < qnumber(exts); ++iext )
|
for ( size_t iext=0; iext < qnumber(exts); ++iext )
|
||||||
{
|
{
|
||||||
static char fn[QMAXPATH];
|
|
||||||
qsnprintf(buf, bufsize, "%s.%s", fns[ifn], exts[iext]);
|
qsnprintf(buf, bufsize, "%s.%s", fns[ifn], exts[iext]);
|
||||||
if ( qfileexist(fn) )
|
|
||||||
return true;
|
|
||||||
if ( qfileexist(fns[ifn]) )
|
if ( qfileexist(fns[ifn]) )
|
||||||
{
|
{
|
||||||
qstrncpy(buf, fns[ifn], bufsize);
|
qstrncpy(buf, fns[ifn], bufsize);
|
||||||
|
Loading…
Reference in New Issue
Block a user