mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- removed 2 redundant string copies in CCMD code.
This commit is contained in:
parent
3db56651f4
commit
3113c6b69b
1 changed files with 2 additions and 4 deletions
|
@ -643,8 +643,7 @@ CCMD (error)
|
|||
{
|
||||
if (argv.argc() > 1)
|
||||
{
|
||||
char *textcopy = copystring (argv[1]);
|
||||
I_Error ("%s", textcopy);
|
||||
I_Error ("%s", argv[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -656,8 +655,7 @@ UNSAFE_CCMD (error_fatal)
|
|||
{
|
||||
if (argv.argc() > 1)
|
||||
{
|
||||
char *textcopy = copystring (argv[1]);
|
||||
I_FatalError ("%s", textcopy);
|
||||
I_FatalError ("%s", argv[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue