Revision: 45458
http://sourceforge.net/p/vice-emu/code/45458
Author: compyx
Date: 2025-01-10 11:10:18 +0000 (Fri, 10 Jan 2025)
Log Message:
-----------
Remove assigned-but-unused variable
Modified Paths:
--------------
trunk/vice/src/arch/shared/archdep_spawn.c
Modified: trunk/vice/src/arch/shared/archdep_spawn.c
===================================================================
--- trunk/vice/src/arch/shared/archdep_spawn.c 2025-01-10 01:38:21 UTC (rev 45457)
+++ trunk/vice/src/arch/shared/archdep_spawn.c 2025-01-10 11:10:18 UTC (rev 45458)
@@ -125,7 +125,6 @@
return -1;
} else {
if (child_pid == 0) {
- int res;
/* child - CAUTION: log system does not work here */
if (stdout_redir && freopen(stdout_redir, "w", stdout) == NULL) {
stdout_errno = errno;
@@ -135,7 +134,7 @@
stderr_errno = errno;
_exit(-1);
}
- res = execvp(name, argv);
+ execvp(name, argv);
/* execvp should never return, except when there was some error */
_exit(-1);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|