[svn-r10659] Purpose:

Optimization

Description:
removed an unncessary memset call.

Solution:

Platforms tested:
heping (pp), sol (pp)

Misc. update:
This commit is contained in:
Leon Arber 2005-04-25 14:15:22 -05:00
parent 0ae785b76b
commit b3c8b2f846
2 changed files with 2 additions and 3 deletions

View File

@ -59,8 +59,8 @@ void parallel_print(const char* format, ...)
if((bytes_written+1) == (OUTBUFF_SIZE-outBuffOffset))
#endif
{
/* Delete the characters that were written to outBuff since they will be written to the overflow_file */
memset(outBuff+outBuffOffset, 0, OUTBUFF_SIZE - outBuffOffset);
/* Terminate the outbuff at the end of the previous output */
outBuff[outBuffOffset] = '\0';
overflow_file = HDtmpfile();
if(overflow_file == NULL)

View File

@ -15,7 +15,6 @@
#ifndef _PH5DIFF_H__
#define _PH5DIFF_H__
#define PRINT_DATA_MAX_SIZE 512
#define OUTBUFF_SIZE PRINT_DATA_MAX_SIZE*4
/* Send from manager to workers */