[PATCH] mshtml: Formatting change to get rid of warning on GCC 6
Nikolay Sivov
nsivov at codeweavers.com
Tue Aug 9 11:57:24 CDT 2016
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/mshtml/script.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/mshtml/script.c b/dlls/mshtml/script.c
index 40deda4..390dbcc 100644
--- a/dlls/mshtml/script.c
+++ b/dlls/mshtml/script.c
@@ -989,12 +989,12 @@ static HRESULT ScriptBSC_read_data(BSCallback *bsc, IStream *stream)
do {
if(This->bsc.readed >= This->size) {
- void *new_buf;
- new_buf = heap_realloc(This->buf, This->size << 1);
- if(!new_buf)
- return E_OUTOFMEMORY;
- This->size <<= 1;
- This->buf = new_buf;
+ void *new_buf;
+ new_buf = heap_realloc(This->buf, This->size << 1);
+ if(!new_buf)
+ return E_OUTOFMEMORY;
+ This->size <<= 1;
+ This->buf = new_buf;
}
hres = read_stream(&This->bsc, stream, This->buf+This->bsc.readed, This->size-This->bsc.readed, &readed);
--
2.8.1
More information about the wine-patches
mailing list