mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 13:56:16 +00:00
I should not write code when it is hot outside
clean up a if statement for realloc svn path=/trunk/; revision=16590
This commit is contained in:
parent
6850597254
commit
eb4fb35571
|
@ -280,7 +280,7 @@ INT cmd_copy (LPTSTR cmd, LPTSTR param)
|
|||
{
|
||||
size = GetEnvironmentVariable (_T("COPYCMD"), evar, 512);
|
||||
}
|
||||
if ((size > 1) && (size > 512))
|
||||
if (size > 512)
|
||||
{
|
||||
evar = realloc(evar,size * sizeof(TCHAR) );
|
||||
if (evar!=NULL)
|
||||
|
|
Loading…
Reference in a new issue