You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
This commit is contained in:
@@ -209,7 +209,8 @@ void VideoStreamPlaybackTheora::set_file(const String &p_file) {
|
||||
|
||||
while (!stateflag) {
|
||||
int ret = buffer_data();
|
||||
if (ret == 0) break;
|
||||
if (ret == 0)
|
||||
break;
|
||||
while (ogg_sync_pageout(&oy, &og) > 0) {
|
||||
ogg_stream_state test;
|
||||
|
||||
@@ -286,7 +287,8 @@ void VideoStreamPlaybackTheora::set_file(const String &p_file) {
|
||||
return;
|
||||
}
|
||||
vorbis_p++;
|
||||
if (vorbis_p == 3) break;
|
||||
if (vorbis_p == 3)
|
||||
break;
|
||||
}
|
||||
|
||||
/* The header pages/packets will arrive before anything else we
|
||||
|
||||
Reference in New Issue
Block a user