From be84ee238f448a5eab596b12efb86efc00f9e89d Mon Sep 17 00:00:00 2001 From: laforge Date: Sat, 26 Jan 2008 20:21:59 +0000 Subject: fix more compiler warnings, based on a patch by Rainer Keller git-svn-id: https://svn.gnumonks.org/trunk/librfid@2052 e0336214-984f-0b4b-a45f-81c69e1f0ede --- utils/mifare-tool.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'utils') diff --git a/utils/mifare-tool.c b/utils/mifare-tool.c index ce16835..812d9f9 100644 --- a/utils/mifare-tool.c +++ b/utils/mifare-tool.c @@ -94,19 +94,6 @@ static void mifare_l3(void) printf("Mifare card available\n"); } -static void inc_key(char* key, int len) -{ - int i; - - if (len <= 0) - return; - i = len - 1; - if (key[i] < 0xff) - key[i]++; - else - key[i] = 0; -} - int main(int argc, char **argv) { int len, rc, c, option_index = 0; -- cgit v1.2.3