*/}}
Browse Source

clear redefinition

YimingWu 1 year ago
parent
commit
f79cc923e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      la_data.c

+ 1 - 1
la_data.c

@@ -3746,7 +3746,7 @@ void laRefreshUDFResourcesIn(char* rootpath){
     if (rootpath[len - 1] != LA_PATH_SEP) strcat(rootpath, LA_PATH_SEPSTR);
 #ifdef __linux__
     struct dirent **NameList=0;
-    int NumFiles=scandir(rootpath,&NameList,0,alphasort);
+    NumFiles=scandir(rootpath,&NameList,0,alphasort);
 
     for(int i=0;i<NumFiles;i++){
         struct dirent* d = NameList[i]; int dlen;