cosmetic changes

This commit is contained in:
Yasuhiro Matsumoto 2025-04-17 16:51:01 +09:00
parent d05865a12b
commit f00c7171e6
No known key found for this signature in database
GPG Key ID: F2EA90DF2C146D1E

9
qjsc.c
View File

@ -379,14 +379,7 @@ void help(void)
int exec_cmd(char **argv) int exec_cmd(char **argv)
{ {
#ifdef _WIN32 #ifdef _WIN32
int ret; return _spawnvp(_P_WAIT, argv[0], (const char * const *)argv);
ret = _spawnvp(_P_WAIT, argv[0], (const char * const *)argv);
if (ret == -1) {
return -1;
}
return ret;
#else #else
int pid, status, ret; int pid, status, ret;