mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-16 02:03:00 -07:00
Fix typo and gcc-7 warnings (#401)
* Fix typo in hf mf csave help * Fix gcc 7 warning: '~' on an expression of type bool [-Wbool-operation], use logical ! not instead of ~ * Fix gcc 7 warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] * Fix gcc 7 warning: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
This commit is contained in:
parent
1ece662f0f
commit
a2d058f3aa
4 changed files with 11 additions and 11 deletions
|
@ -606,7 +606,7 @@ int EM4x50Read(const char *Cmd, bool verbose)
|
|||
char tmp2[20];
|
||||
int phaseoff;
|
||||
high = low = 0;
|
||||
memset(tmpbuff, 0, MAX_GRAPH_TRACE_LEN / 64);
|
||||
memset(tmpbuff, 0, sizeof(tmpbuff));
|
||||
|
||||
// get user entry if any
|
||||
sscanf(Cmd, "%i %i", &clk, &invert);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue