You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
explicit initialization of result in s2d_strlen
This commit is contained in:
@@ -48,7 +48,7 @@ int s2d_ilen(char *s) {
|
||||
}
|
||||
|
||||
int s2d_strlen(char *s) {
|
||||
int result;
|
||||
int result = 0;
|
||||
char *p = s;
|
||||
do {result++;} while (*(++p) != '\0');
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user