mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 00:52:11 +08:00
Remove the unneeded void cast
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
32ee2ae407
commit
ef1a98dd00
+2
-2
@@ -389,8 +389,8 @@ int main(int argc, char **argv, char **envp)
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
(void)cygwin_conv_path(CCP_POSIX_TO_WIN_A, dirname, convpath,
|
||||
bufsize);
|
||||
cygwin_conv_path(CCP_POSIX_TO_WIN_A, dirname, convpath,
|
||||
bufsize);
|
||||
incpath = convpath;
|
||||
}
|
||||
else
|
||||
|
||||
+1
-1
@@ -313,7 +313,7 @@ static void generate_proxy(int nfixed, int nparms)
|
||||
if (strcmp(g_parm[RETTYPE_INDEX], "void") == 0 ||
|
||||
strcmp(g_parm[RETTYPE_INDEX], "noreturn") == 0)
|
||||
{
|
||||
fprintf(stream, " (void)sys_call%d(", nparms);
|
||||
fprintf(stream, " sys_call%d(", nparms);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user