tools/nxstyle.c: fix defined but not used warning
fix defined but not used warning from CI:
Warning: nxstyle.c:767:13: warning: ‘backslash_to_slash’ defined but not used [-Wunused-function]
767 | static void backslash_to_slash(char *str)
Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
parent
889a26db1d
commit
442bc1c041
1 changed files with 2 additions and 0 deletions
|
|
@ -756,6 +756,7 @@ char *my_strndup(const char *s, size_t size)
|
|||
# define strndup my_strndup
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WINDOWS_NATIVE
|
||||
/********************************************************************************
|
||||
* Name: backslash_to_slash
|
||||
*
|
||||
|
|
@ -781,6 +782,7 @@ static void backslash_to_slash(char *str)
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/********************************************************************************
|
||||
* Name: skip
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue