firmware-utils: fix compilation warnings.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 42986
This commit is contained in:
@@ -70,7 +70,6 @@ static int crypt_file(void)
|
||||
{
|
||||
unsigned char *buf = NULL;
|
||||
ssize_t src_len;
|
||||
ssize_t crypt_len;
|
||||
int err;
|
||||
int ret = -1;
|
||||
|
||||
@@ -92,7 +91,6 @@ static int crypt_file(void)
|
||||
goto out;
|
||||
}
|
||||
|
||||
crypt_len = (src_len > 512) ? 512 : src_len;
|
||||
if (do_decrypt)
|
||||
crypt_header(buf, 512, crypt_key2, crypt_key1);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user