summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-01-26 20:21:59 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-01-26 20:21:59 +0000
commitbe84ee238f448a5eab596b12efb86efc00f9e89d (patch)
treedc6be254302300e2b61579d0e0ce2274100ebbef /utils
parent7cf71fab95056b3c812b21247a24bab74678980b (diff)
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
Diffstat (limited to 'utils')
-rw-r--r--utils/mifare-tool.c13
1 files changed, 0 insertions, 13 deletions
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;
personal git repositories of Harald Welte. Your mileage may vary