mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 01:41:13 +08:00
[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;
^~~~
This commit is contained in:
committed by
Hervé Poussineau
parent
2944d29969
commit
207a0f520e
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user