enabled and fixed constVariable Cppcheck warnings
This commit is contained in:
@@ -46,9 +46,9 @@ void hexdump(int address, char *buf, int len)
|
||||
|
||||
unsigned char c;
|
||||
|
||||
char cvt[] = {'0', '1', '2', '3', '4', '5', '6', '7',
|
||||
'8', '9', 'a', 'b', 'c', 'd', 'e', 'f'
|
||||
};
|
||||
const char cvt[] = {'0', '1', '2', '3', '4', '5', '6', '7',
|
||||
'8', '9', 'a', 'b', 'c', 'd', 'e', 'f'
|
||||
};
|
||||
|
||||
if ((buf == NULL) || (len <= 0))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user