forked from osmocom/wireshark
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:
parent
61fcf7fbca
commit
ebc0197755
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue