From 88237e60c138aa7eb54c8601ff8f6b556f3009aa Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 30 Dec 2019 16:41:13 +0100 Subject: [PATCH] cppcheck --- client/wiegand_formats.h | 2 +- common/crapto1/crapto1.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/wiegand_formats.h b/client/wiegand_formats.h index b75f5e491..2b9b3df05 100644 --- a/client/wiegand_formats.h +++ b/client/wiegand_formats.h @@ -42,7 +42,7 @@ typedef struct { void HIDListFormats(); int HIDFindCardFormat(const char *format); cardformat_t HIDGetCardFormat(int idx); -bool HIDPack(int FormatIndex, wiegand_card_t *card, wiegand_message_t *packed); +bool HIDPack(int format_idx, wiegand_card_t *card, wiegand_message_t *packed); bool HIDTryUnpack(wiegand_message_t *packed, bool ignore_parity); #endif diff --git a/common/crapto1/crapto1.h b/common/crapto1/crapto1.h index 7fa16539e..b6be544a5 100644 --- a/common/crapto1/crapto1.h +++ b/common/crapto1/crapto1.h @@ -25,7 +25,7 @@ #include struct Crypto1State {uint32_t odd, even;}; -void crypto1_init(struct Crypto1State *s, uint64_t key); +void crypto1_init(struct Crypto1State *state, uint64_t key); void crypto1_deinit(struct Crypto1State *); #if !defined(__arm__) || defined(__linux__) || defined(_WIN32) || defined(__APPLE__) // bare metal ARM Proxmark lacks malloc()/free() struct Crypto1State *crypto1_create(uint64_t key);