[PATCH] inetcomm/mimeole.c : Remove unneeded assignments.
Amine Khaldi
amine48rz at gmail.com
Wed Dec 16 12:02:56 CST 2009
---
dlls/inetcomm/mimeole.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/inetcomm/mimeole.c b/dlls/inetcomm/mimeole.c
index 992949a..6b690ae 100644
--- a/dlls/inetcomm/mimeole.c
+++ b/dlls/inetcomm/mimeole.c
@@ -1552,7 +1552,7 @@ static HRESULT create_body_offset_list(IStream *stm, const char *boundary, struc
overlap = buf = HeapAlloc(GetProcessHeap(), 0, overlap_no + PARSER_BUF_SIZE + 1);
zero.QuadPart = 0;
- hr = IStream_Seek(stm, zero, STREAM_SEEK_CUR, &cur);
+ IStream_Seek(stm, zero, STREAM_SEEK_CUR, &cur);
start = cur.u.LowPart;
do {
@@ -1626,7 +1626,7 @@ static body_t *create_sub_body(MimeMessage *msg, IStream *pStm, BODYOFFSETS *off
MimeBody_create(NULL, (void**)&mime_body);
IMimeBody_Load(mime_body, pStm);
zero.QuadPart = 0;
- hr = IStream_Seek(pStm, zero, STREAM_SEEK_CUR, &cur);
+ IStream_Seek(pStm, zero, STREAM_SEEK_CUR, &cur);
offset->cbBodyStart = cur.u.LowPart + offset->cbHeaderStart;
if(parent) MimeBody_set_offsets(impl_from_IMimeBody(mime_body), offset);
IMimeBody_SetData(mime_body, IET_BINARY, NULL, NULL, &IID_IStream, pStm);
@@ -1650,7 +1650,7 @@ static body_t *create_sub_body(MimeMessage *msg, IStream *pStm, BODYOFFSETS *off
{
struct list offset_list;
offset_entry_t *cur, *cursor2;
- hr = create_body_offset_list(pStm, param_info[i].pszData, &offset_list);
+ create_body_offset_list(pStm, param_info[i].pszData, &offset_list);
LIST_FOR_EACH_ENTRY_SAFE(cur, cursor2, &offset_list, offset_entry_t, entry)
{
body_t *sub_body;
@@ -2026,7 +2026,7 @@ static HRESULT find_next(IMimeMessage *msg, LPFINDBODY find_body, HBODY *out)
}
}
- hr = IMimeMessage_BindToObject(msg, (HBODY)find_body->dwReserved, &IID_IMimeBody, (void**)&mime_body);
+ IMimeMessage_BindToObject(msg, (HBODY)find_body->dwReserved, &IID_IMimeBody, (void**)&mime_body);
if(IMimeBody_IsContentType(mime_body, find_body->pszPriType, find_body->pszSubType) == S_OK)
{
IMimeBody_Release(mime_body);
--
1.6.5.1.1367.gcd48
--------------090806090000080706090207--
More information about the wine-patches
mailing list