mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
refactor(kernel): remove unnecessary type casting in Execute::Spawn call
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
f6eb4bd3dc
commit
120d67fb1a
@ -603,8 +603,7 @@ void KShellThread()
|
||||
if (Config.LinuxSubsystem)
|
||||
compat = Tasking::Linux;
|
||||
|
||||
int ret = Execute::Spawn((char *)path.c_str(), argv, envp,
|
||||
nullptr, false, compat, false);
|
||||
int ret = Execute::Spawn(path.c_str(), argv, envp, nullptr, false, compat, false);
|
||||
if (argv[1])
|
||||
delete argv[1];
|
||||
delete argv;
|
||||
|
Loading…
x
Reference in New Issue
Block a user