mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +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)
|
if (argv.argc() > 1)
|
||||||
{
|
{
|
||||||
char *textcopy = copystring (argv[1]);
|
I_Error ("%s", argv[1]);
|
||||||
I_Error ("%s", textcopy);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -656,8 +655,7 @@ UNSAFE_CCMD (error_fatal)
|
||||||
{
|
{
|
||||||
if (argv.argc() > 1)
|
if (argv.argc() > 1)
|
||||||
{
|
{
|
||||||
char *textcopy = copystring (argv[1]);
|
I_FatalError ("%s", argv[1]);
|
||||||
I_FatalError ("%s", textcopy);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue