Remove/fix unused stuff and other warnings
This commit is contained in:
@ -24,8 +24,8 @@ size_t hal_strlen(char *s) {
|
||||
// https://aticleworld.com/memcmp-in-c/
|
||||
int hal_memcmp(const void *s1, const void *s2, int len)
|
||||
{
|
||||
unsigned char *p = s1;
|
||||
unsigned char *q = s2;
|
||||
unsigned char *p = (unsigned char *)s1;
|
||||
unsigned char *q = (unsigned char *)s2;
|
||||
int charCompareStatus = 0;
|
||||
//If both pointer pointing same memory block
|
||||
if (s1 == s2)
|
||||
|
||||
Reference in New Issue
Block a user