[file-roller] libarchive: skip the data if the file type is not supported



commit 4b076208d19d32653a3dbd818064f0086fc743e5
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Oct 13 13:24:37 2012 +0200

    libarchive: skip the data if the file type is not supported

 src/fr-archive-libarchive.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/fr-archive-libarchive.c b/src/fr-archive-libarchive.c
index 65b1318..dd6fbe7 100644
--- a/src/fr-archive-libarchive.c
+++ b/src/fr-archive-libarchive.c
@@ -692,6 +692,10 @@ extract_archive_thread (GSimpleAsyncResult *result,
 				}
 				archive_read_data_skip (a);
 				break;
+
+			default:
+				archive_read_data_skip (a);
+				break;
 			}
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]