mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
coding style: allow declarations after statement
See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1243/ and https://gitlab.freedesktop.org/gstreamer/gstreamer-project/-/issues/78 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2683>
This commit is contained in:
parent
38e142db9a
commit
9272943bc7
11 changed files with 2 additions and 13 deletions
|
@ -131,7 +131,6 @@ warning_flags = [
|
|||
'-Wmissing-include-dirs',
|
||||
'-Waddress',
|
||||
'-Wno-multichar',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wvla',
|
||||
'-Wpointer-arith',
|
||||
]
|
||||
|
|
|
@ -251,7 +251,6 @@ warning_flags = [
|
|||
'-Wmissing-include-dirs',
|
||||
'-Waddress',
|
||||
'-Wno-multichar',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wvla',
|
||||
'-Wpointer-arith',
|
||||
]
|
||||
|
|
|
@ -193,7 +193,6 @@ warning_flags = [
|
|||
'-Waddress',
|
||||
'-Wno-multichar',
|
||||
'-Waggregate-return',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wvla',
|
||||
'-Wpointer-arith',
|
||||
]
|
||||
|
|
|
@ -346,7 +346,6 @@ warning_flags = [
|
|||
|
||||
warning_c_flags = [
|
||||
'-Wmissing-prototypes',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wold-style-definition',
|
||||
'-Waggregate-return',
|
||||
]
|
||||
|
|
|
@ -235,7 +235,6 @@ warning_flags = [
|
|||
|
||||
warning_c_flags = [
|
||||
'-Wmissing-prototypes',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wold-style-definition',
|
||||
]
|
||||
|
||||
|
|
|
@ -251,7 +251,6 @@ warning_flags = [
|
|||
|
||||
warning_c_flags = [
|
||||
'-Wmissing-prototypes',
|
||||
'-Wdeclaration-after-statement',
|
||||
]
|
||||
|
||||
warning_cxx_flags = [
|
||||
|
|
|
@ -229,7 +229,6 @@ warning_flags = [
|
|||
|
||||
warning_c_flags = [
|
||||
'-Wmissing-prototypes',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wold-style-definition',
|
||||
'-Waggregate-return',
|
||||
]
|
||||
|
|
|
@ -242,7 +242,6 @@ warning_flags = [
|
|||
warning_c_flags = [
|
||||
'-Wmissing-prototypes',
|
||||
'-Wold-style-definition',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wnested-externs'
|
||||
]
|
||||
|
||||
|
|
|
@ -126,7 +126,6 @@ warning_flags = [
|
|||
'-Wmissing-include-dirs',
|
||||
'-Waddress',
|
||||
'-Wno-multichar',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wvla',
|
||||
'-Wpointer-arith',
|
||||
]
|
||||
|
|
|
@ -1092,7 +1092,6 @@ void
|
|||
gst_deinit (void)
|
||||
{
|
||||
GstBinClass *bin_class;
|
||||
GstClock *clock;
|
||||
|
||||
g_mutex_lock (&init_lock);
|
||||
|
||||
|
@ -1129,9 +1128,9 @@ gst_deinit (void)
|
|||
_gst_executable_path = NULL;
|
||||
}
|
||||
|
||||
clock = gst_system_clock_obtain ();
|
||||
gst_object_unref (clock);
|
||||
GstClock *clock = gst_system_clock_obtain ();
|
||||
gst_object_unref (clock);
|
||||
gst_clear_object (&clock);
|
||||
|
||||
_priv_gst_registry_cleanup ();
|
||||
_priv_gst_allocator_cleanup ();
|
||||
|
|
|
@ -492,7 +492,6 @@ warning_flags = [
|
|||
'-Waddress',
|
||||
'-Waggregate-return',
|
||||
'-Wno-multichar',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wvla',
|
||||
'-Wpointer-arith',
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue