[PATCH 1/1] uncompress: drop wrong BUG(uncompress_size)
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Wed Sep 5 10:59:45 EDT 2012
As uncompress_size is a static and will set if call uncompress_size multiple
time.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
lib/uncompress.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/uncompress.c b/lib/uncompress.c
index cdfebe9..3cf98dd 100644
--- a/lib/uncompress.c
+++ b/lib/uncompress.c
@@ -80,8 +80,6 @@ int uncompress(unsigned char *inbuf, int len,
int ret;
char *err;
- BUG_ON(uncompress_size);
-
if (inbuf) {
ft = file_detect_type(inbuf);
uncompress_buf = NULL;
--
1.7.10.4
More information about the barebox
mailing list