mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
(clang) fix unused function warning
This commit is contained in:
parent
f6245cdb79
commit
c1209ca0f5
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ static int usage_lf_nexwatch_sim(void) {
|
||||||
PrintAndLogEx(NORMAL, " lf nexwatch sim r 5600000000213C9F8F150C");
|
PrintAndLogEx(NORMAL, " lf nexwatch sim r 5600000000213C9F8F150C");
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
static inline uint32_t bitcount(uint32_t a) {
|
static inline uint32_t bitcount(uint32_t a) {
|
||||||
#if defined __GNUC__
|
#if defined __GNUC__
|
||||||
return __builtin_popcountl(a);
|
return __builtin_popcountl(a);
|
||||||
|
@ -62,7 +62,7 @@ static inline uint32_t bitcount(uint32_t a) {
|
||||||
return (((a + (a >> 4)) & 0x0f0f0f0f) * 0x01010101) >> 24;
|
return (((a + (a >> 4)) & 0x0f0f0f0f) * 0x01010101) >> 24;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
int demodNexWatch(void) {
|
int demodNexWatch(void) {
|
||||||
if (PSKDemod("", false) != PM3_SUCCESS) {
|
if (PSKDemod("", false) != PM3_SUCCESS) {
|
||||||
PrintAndLogEx(DEBUG, "DEBUG: Error - NexWatch can't demod signal");
|
PrintAndLogEx(DEBUG, "DEBUG: Error - NexWatch can't demod signal");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue