Remove/fix unused stuff and other warnings
This commit is contained in:
@ -27,8 +27,8 @@ void *string_memcpy(void *dst, const void *src, size_t n) {
|
||||
// https://aticleworld.com/memcmp-in-c/
|
||||
int string_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