Remove the unneeded void cast

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-04-17 23:14:13 +08:00
committed by Petro Karashchenko
parent 32ee2ae407
commit ef1a98dd00
108 changed files with 216 additions and 226 deletions
+2 -2
View File
@@ -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
View File
@@ -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
{