src/archiver_lzma.c
changeset 1111 20d7c2d95a98
parent 1109 c69df75dbcc3
child 1113 2136d64bd1ad
--- a/src/archiver_lzma.c	Sun Aug 22 03:43:22 2010 -0400
+++ b/src/archiver_lzma.c	Sun Aug 22 20:20:04 2010 -0400
@@ -600,22 +600,6 @@
 } /* LZMA_exists */
 
 
-static PHYSFS_sint64 LZMA_getLastModTime(dvoid *opaque,
-                                         const char *name,
-                                         int *fileExists)
-{
-    LZMAarchive *archive = (LZMAarchive *) opaque;
-    LZMAfile *file = lzma_find_file(archive, name);
-
-    *fileExists = (file != NULL);
-
-    BAIL_IF_MACRO(file == NULL, NULL, -1);
-	BAIL_IF_MACRO(!file->item->IsLastWriteTimeDefined, NULL, -1); /* write-time may not be defined for every file */
-
-    return lzma_filetime_to_unix_timestamp(&file->item->LastWriteTime);
-} /* LZMA_getLastModTime */
-
-
 static int LZMA_isDirectory(dvoid *opaque, const char *name, int *fileExists)
 {
     LZMAarchive *archive = (LZMAarchive *) opaque;
@@ -743,7 +727,6 @@
     LZMA_exists,             /* exists() method         */
     LZMA_isDirectory,        /* isDirectory() method    */
     LZMA_isSymLink,          /* isSymLink() method      */
-    LZMA_getLastModTime,     /* getLastModTime() method */
     LZMA_openRead,           /* openRead() method       */
     LZMA_openWrite,          /* openWrite() method      */
     LZMA_openAppend,         /* openAppend() method     */