Skip to content

Commit 4d21b10

Browse files
removed dead code
1 parent 0282e67 commit 4d21b10

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

pywraps/py_idaapi.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,7 @@ bool pywraps_check_autoscripts(char *buf, size_t bufsize)
116116
{
117117
for ( size_t iext=0; iext < qnumber(exts); ++iext )
118118
{
119-
static char fn[QMAXPATH];
120119
qsnprintf(buf, bufsize, "%s.%s", fns[ifn], exts[iext]);
121-
if ( qfileexist(fn) )
122-
return true;
123120
if ( qfileexist(fns[ifn]) )
124121
{
125122
qstrncpy(buf, fns[ifn], bufsize);

swig/idaapi.i

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,10 +1311,7 @@ bool pywraps_check_autoscripts(char *buf, size_t bufsize)
13111311
{
13121312
for ( size_t iext=0; iext < qnumber(exts); ++iext )
13131313
{
1314-
static char fn[QMAXPATH];
13151314
qsnprintf(buf, bufsize, "%s.%s", fns[ifn], exts[iext]);
1316-
if ( qfileexist(fn) )
1317-
return true;
13181315
if ( qfileexist(fns[ifn]) )
13191316
{
13201317
qstrncpy(buf, fns[ifn], bufsize);

0 commit comments

Comments
 (0)