Fix bugs: 1) reorder the initialization of static fields and the execution of static...
[IRC.git] / Robust / src / Runtime / file.c
index f9401e84d8c0836934182a524839d7db4821320c..20763a9d8b970540a43db03282bed8a0c6f687ef 100644 (file)
@@ -84,8 +84,6 @@ int CALL01(___FileInputStream______nativeOpen_____AR_B, struct ArrayObject * ___
   return 0;
 #endif
 #else
-  int length=VAR(___filename___)->___length___;
-  char* filename= (((char *)&VAR(___filename___)->___length___)+sizeof(int));
   int fd;
   if ((fd=open(filename, O_RDONLY, 0)) < 0) {
     printf(">>>\n");