diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2014-02-24 16:30:07 +0100 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2014-02-24 16:30:07 +0100 |
commit | 511ed43218ad00ecef3c99077cb106969957df9c (patch) | |
tree | f9e78488e6a8301f0eb57955d1588ff5fc239217 | |
parent | fcefe3e6d93c86b7491c9e5af8372173ae01ed03 (diff) |
Unused variable
-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; |