summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2014-02-24 16:30:07 +0100
committerDirk Engling <erdgeist@erdgeist.org>2014-02-24 16:30:07 +0100
commit511ed43218ad00ecef3c99077cb106969957df9c (patch)
treef9e78488e6a8301f0eb57955d1588ff5fc239217
parentfcefe3e6d93c86b7491c9e5af8372173ae01ed03 (diff)
Unused variable
-rw-r--r--mystdlib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mystdlib.c b/mystdlib.c
index 56edcb9..b3aea49 100644
--- a/mystdlib.c
+++ b/mystdlib.c
@@ -49,7 +49,6 @@ void unmap_file ( MAP *pMap )
49int getfilesize( int fd, unsigned long *size) 49int 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;