diff options
-rw-r--r-- | mystdlib.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -49,7 +49,6 @@ void unmap_file ( MAP *pMap ) | |||
49 | int getfilesize( int fd, unsigned long *size) | 49 | int getfilesize( int fd, unsigned long *size) |
50 | { | 50 | { |
51 | struct stat sb; | 51 | struct stat sb; |
52 | int ret; | ||
53 | if( fstat( fd, &sb )) return -1; | 52 | if( fstat( fd, &sb )) return -1; |
54 | *size = sb.st_size; | 53 | *size = sb.st_size; |
55 | return 0; | 54 | return 0; |