From 207a0f520e6199c5f6aaf987112c07f10ccbc0cf Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sun, 28 Apr 2019 20:27:21 +0200 Subject: [PATCH] [MSHTML] Convert tabs to spaces Fixes GCC 8 warning: dll/win32/mshtml/script.c:844:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if(!new_buf) ^~ dll/win32/mshtml/script.c:846:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' This->size <<= 1; ^~~~ --- dll/win32/mshtml/script.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dll/win32/mshtml/script.c b/dll/win32/mshtml/script.c index 39d8aedbb48..b6d309ed580 100644 --- a/dll/win32/mshtml/script.c +++ b/dll/win32/mshtml/script.c @@ -839,10 +839,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; }