From f1f7430ae0215b7ba3743b6d14f9eec616bd00ab Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 26 Sep 2016 17:19:35 +0200 Subject: [PATCH] CHG: removed the ubuntu build variable which is no needed anymore to build on ubunutu. CHG: Some warnings in cmdhflegic.c is solved. --- client/cmdhflegic.c | 4 ++-- covbuild.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/cmdhflegic.c b/client/cmdhflegic.c index b52034dc..51082aa0 100644 --- a/client/cmdhflegic.c +++ b/client/cmdhflegic.c @@ -705,7 +705,7 @@ void static calc4(uint8_t *cmd, uint8_t len){ crc_update(&crc, 1, 1); /* CMD_READ */ crc_update(&crc, cmd[0], 8); crc_update(&crc, cmd[1], 8); - printf("crc4 %X\n", crc_finish(&crc), 4 ) ; + printf("crc4 %X\n", crc_finish(&crc) ) ; printf("---- old ---\n"); crc_update2(&crc, 1, 1); /* CMD_READ */ @@ -718,7 +718,7 @@ void static calc4(uint8_t *cmd, uint8_t len){ crc_update2(&crc, 1, 1); /* CMD_READ */ crc_update2(&crc, cmd[0], 8); crc_update2(&crc, cmd[1], 8); - printf("crc4 %X\n", crc_finish(&crc), 4 ) ; + printf("crc4 %X\n", crc_finish(&crc) ) ; } int CmdLegicCalcCrc8(const char *Cmd){ diff --git a/covbuild.sh b/covbuild.sh index 088acc23..47e04e7c 100755 --- a/covbuild.sh +++ b/covbuild.sh @@ -7,7 +7,7 @@ make clean ## coverity build -cov-build --dir cov-int make all UBUNTU_1404_QT4=1 +cov-build --dir cov-int make all ## create tarball tar cfz proxmark3.all.`date --date now +%Y%m%d%H%M%S`.tgz cov-int -- 2.39.2