mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:05:40 +00:00
Remove redundant memset call.
svn path=/trunk/; revision=31906
This commit is contained in:
parent
cd36a05851
commit
874eec2648
1 changed files with 0 additions and 1 deletions
|
@ -284,7 +284,6 @@ BOOL Batch (LPTSTR fullname, LPTSTR firstword, LPTSTR param)
|
||||||
bc->raw_params = (TCHAR*) cmd_alloc((_tcslen(param)+1) * sizeof(TCHAR));
|
bc->raw_params = (TCHAR*) cmd_alloc((_tcslen(param)+1) * sizeof(TCHAR));
|
||||||
if (bc->raw_params != NULL)
|
if (bc->raw_params != NULL)
|
||||||
{
|
{
|
||||||
memset (bc->raw_params, 0, (_tcslen(param)+1) * sizeof(TCHAR));
|
|
||||||
_tcscpy(bc->raw_params,param);
|
_tcscpy(bc->raw_params,param);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue