]> git.zerfleddert.de Git - proxmark3-svn/commit
Inclusion of unused oem variable
authork02a <johnny.bengtsson@yahoo.se>
Fri, 22 Jul 2016 07:49:02 +0000 (09:49 +0200)
committerGitHub <noreply@github.com>
Fri, 22 Jul 2016 07:49:02 +0000 (09:49 +0200)
commite13ccb6b3ff004ecdcb19f6b27719dd4c3002a50
tree2f066eb1f85698714898e8e919680ad779b54ff4
parent36e78d669c9c3765f7f3b020d3901fe0ddba2598
Inclusion of unused oem variable

When compilation of the current source code, I am getting the warning of setting the unused variable "oem". I have included this, along with minor spelling corrections/language updates in the menu system.

gcc -std=c99 -O3 -mpopcnt -march=native -g -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall -DHAVE_GUI -DZ_SOLO -DZ_PREFIX -DNO_GZIP -DZLIB_PM3_TUNED  -c -o obj/cmdlfhid.o cmdlfhid.c
cmdlfhid.c: I funktion "CmdHIDWiegand":
cmdlfhid.c:292:11: varning: variabeln "oem" sätts men används inte [-Wunused-but-set-variable]
  uint32_t oem;
           ^

Before:
pm3 --> lf hid wiegand 0 101 2001
HID 26 bit | FC: 101 CN: 2001 | Wiegand Code: 0000002004CA0FA2
[...]
HID 40 bit | FC: 101 CN: 2001 | Wiegand Code: 0000000000000FA2

After:
pm3 --> lf hid wiegand 0 101 2001
HID 26 bit | OEM: 0 FC: 101 CN: 2001 | Wiegand code: 0000002004CA0FA2
[...]
HID 40 bit | OEM: 0 FC: 101 CN: 2001 | Wiegand code: 0000000000000FA2
client/cmdlfhid.c
Impressum, Datenschutz