mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-25 22:14:37 +00:00
library: Return if Length == 0 in DumpData
This commit is contained in:
parent
e8e2aa4a5f
commit
02cf233534
@ -39,6 +39,9 @@ void WriteRaw(const char *format, ...)
|
|||||||
|
|
||||||
void DumpData(const char *Description, void *Address, unsigned long Length)
|
void DumpData(const char *Description, void *Address, unsigned long Length)
|
||||||
{
|
{
|
||||||
|
if (Length == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
SmartLock(DumperLock);
|
SmartLock(DumperLock);
|
||||||
WriteRaw("-------------------------------------------------------------------------\n");
|
WriteRaw("-------------------------------------------------------------------------\n");
|
||||||
unsigned char *AddressChar = (unsigned char *)Address;
|
unsigned char *AddressChar = (unsigned char *)Address;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user