mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Style: Apply new changes from clang-format 8.0
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
This commit is contained in:
parent
4b2c79c471
commit
c8994b56f9
85 changed files with 382 additions and 251 deletions
|
@ -690,7 +690,9 @@ size_t NetworkedMultiplayerENet::enet_compress(void *context, const ENetBuffer *
|
|||
case COMPRESS_ZSTD: {
|
||||
mode = Compression::MODE_ZSTD;
|
||||
} break;
|
||||
default: { ERR_FAIL_V(0); }
|
||||
default: {
|
||||
ERR_FAIL_V(0);
|
||||
}
|
||||
}
|
||||
|
||||
int req_size = Compression::get_max_compressed_buffer_size(ofs, mode);
|
||||
|
@ -727,7 +729,8 @@ size_t NetworkedMultiplayerENet::enet_decompress(void *context, const enet_uint8
|
|||
|
||||
ret = Compression::decompress(outData, outLimit, inData, inLimit, Compression::MODE_ZSTD);
|
||||
} break;
|
||||
default: {}
|
||||
default: {
|
||||
}
|
||||
}
|
||||
if (ret < 0) {
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue