Remove/fix unused stuff and other warnings

This commit is contained in:
2025-10-14 20:20:41 +02:00
parent 01b37e41c2
commit 0c3250e8d6
17 changed files with 24 additions and 55 deletions

View File

@ -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)