remove two redundant strcpy so they dont show up as noice for grep strcpy *.c

svn path=/trunk/; revision=16231
This commit is contained in:
Ronnie Sahlberg 2005-10-15 23:26:32 +00:00
parent 61fcf7fbca
commit ebc0197755
1 changed files with 2 additions and 2 deletions

View File

@ -1294,7 +1294,7 @@ dissect_dcom_indexed_LPWSTR(tvbuff_t *tvb, gint offset, packet_info *pinfo,
if(u32MaxStr != 0) {
offset = dcom_tvb_get_nwstringz0(tvb, offset, u32MaxStr, pszStr);
} else {
strcpy(pszStr, "");
*pszStr=0;
}
#if GLIB_MAJOR_VERSION < 2
@ -1384,7 +1384,7 @@ dissect_dcom_BSTR(tvbuff_t *tvb, gint offset, packet_info *pinfo,
if(u32MaxStr != 0) {
offset = dcom_tvb_get_nwstringz0(tvb, offset, u32MaxStr, pszStr);
} else {
strcpy(pszStr, "");
*pszStr=0;
}
#if GLIB_MAJOR_VERSION < 2