Author: navaraf
Date: Sun Jan 20 18:41:49 2008
New Revision: 31906
URL:
http://svn.reactos.org/svn/reactos?rev=31906&view=rev
Log:
Remove redundant memset call.
Modified:
trunk/reactos/base/shell/cmd/batch.c
Modified: trunk/reactos/base/shell/cmd/batch.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/batch.c?rev…
==============================================================================
--- trunk/reactos/base/shell/cmd/batch.c (original)
+++ trunk/reactos/base/shell/cmd/batch.c Sun Jan 20 18:41:49 2008
@@ -284,7 +284,6 @@
bc->raw_params = (TCHAR*) cmd_alloc((_tcslen(param)+1) * sizeof(TCHAR));
if (bc->raw_params != NULL)
{
- memset (bc->raw_params, 0, (_tcslen(param)+1) * sizeof(TCHAR));
_tcscpy(bc->raw_params,param);
}
else