Nikolay Sivov : mshtml: Formatting change to get rid of warning on GCC 6.
Alexandre Julliard
julliard at winehq.org
Thu Aug 11 09:37:47 CDT 2016
Module: wine
Branch: master
Commit: 8fbaeb3058f0fec147e4690384565571e9f2e707
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8fbaeb3058f0fec147e4690384565571e9f2e707
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Wed Aug 10 22:25:24 2016 +0200
mshtml: Formatting change to get rid of warning on GCC 6.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mshtml/script.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/mshtml/script.c b/dlls/mshtml/script.c
index 40deda4..f10a702 100644
--- a/dlls/mshtml/script.c
+++ b/dlls/mshtml/script.c
@@ -989,10 +989,10 @@ 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;
+ 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;
}
More information about the wine-cvs
mailing list