mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +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',
|
'-Wmissing-include-dirs',
|
||||||
'-Waddress',
|
'-Waddress',
|
||||||
'-Wno-multichar',
|
'-Wno-multichar',
|
||||||
'-Wdeclaration-after-statement',
|
|
||||||
'-Wvla',
|
'-Wvla',
|
||||||
'-Wpointer-arith',
|
'-Wpointer-arith',
|
||||||
]
|
]
|
||||||
|
|
|
@ -251,7 +251,6 @@ warning_flags = [
|
||||||
'-Wmissing-include-dirs',
|
'-Wmissing-include-dirs',
|
||||||
'-Waddress',
|
'-Waddress',
|
||||||
'-Wno-multichar',
|
'-Wno-multichar',
|
||||||
'-Wdeclaration-after-statement',
|
|
||||||
'-Wvla',
|
'-Wvla',
|
||||||
'-Wpointer-arith',
|
'-Wpointer-arith',
|
||||||
]
|
]
|
||||||
|
|
|
@ -193,7 +193,6 @@ warning_flags = [
|
||||||
'-Waddress',
|
'-Waddress',
|
||||||
'-Wno-multichar',
|
'-Wno-multichar',
|
||||||
'-Waggregate-return',
|
'-Waggregate-return',
|
||||||
'-Wdeclaration-after-statement',
|
|
||||||
'-Wvla',
|
'-Wvla',
|
||||||
'-Wpointer-arith',
|
'-Wpointer-arith',
|
||||||
]
|
]
|
||||||
|
|
|
@ -346,7 +346,6 @@ warning_flags = [
|
||||||
|
|
||||||
warning_c_flags = [
|
warning_c_flags = [
|
||||||
'-Wmissing-prototypes',
|
'-Wmissing-prototypes',
|
||||||
'-Wdeclaration-after-statement',
|
|
||||||
'-Wold-style-definition',
|
'-Wold-style-definition',
|
||||||
'-Waggregate-return',
|
'-Waggregate-return',
|
||||||
]
|
]
|
||||||
|
|
|
@ -235,7 +235,6 @@ warning_flags = [
|
||||||
|
|
||||||
warning_c_flags = [
|
warning_c_flags = [
|
||||||
'-Wmissing-prototypes',
|
'-Wmissing-prototypes',
|
||||||
'-Wdeclaration-after-statement',
|
|
||||||
'-Wold-style-definition',
|
'-Wold-style-definition',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -251,7 +251,6 @@ warning_flags = [
|
||||||
|
|
||||||
warning_c_flags = [
|
warning_c_flags = [
|
||||||
'-Wmissing-prototypes',
|
'-Wmissing-prototypes',
|
||||||
'-Wdeclaration-after-statement',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
warning_cxx_flags = [
|
warning_cxx_flags = [
|
||||||
|
|
|
@ -229,7 +229,6 @@ warning_flags = [
|
||||||
|
|
||||||
warning_c_flags = [
|
warning_c_flags = [
|
||||||
'-Wmissing-prototypes',
|
'-Wmissing-prototypes',
|
||||||
'-Wdeclaration-after-statement',
|
|
||||||
'-Wold-style-definition',
|
'-Wold-style-definition',
|
||||||
'-Waggregate-return',
|
'-Waggregate-return',
|
||||||
]
|
]
|
||||||
|
|
|
@ -242,7 +242,6 @@ warning_flags = [
|
||||||
warning_c_flags = [
|
warning_c_flags = [
|
||||||
'-Wmissing-prototypes',
|
'-Wmissing-prototypes',
|
||||||
'-Wold-style-definition',
|
'-Wold-style-definition',
|
||||||
'-Wdeclaration-after-statement',
|
|
||||||
'-Wnested-externs'
|
'-Wnested-externs'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,6 @@ warning_flags = [
|
||||||
'-Wmissing-include-dirs',
|
'-Wmissing-include-dirs',
|
||||||
'-Waddress',
|
'-Waddress',
|
||||||
'-Wno-multichar',
|
'-Wno-multichar',
|
||||||
'-Wdeclaration-after-statement',
|
|
||||||
'-Wvla',
|
'-Wvla',
|
||||||
'-Wpointer-arith',
|
'-Wpointer-arith',
|
||||||
]
|
]
|
||||||
|
|
|
@ -1092,7 +1092,6 @@ void
|
||||||
gst_deinit (void)
|
gst_deinit (void)
|
||||||
{
|
{
|
||||||
GstBinClass *bin_class;
|
GstBinClass *bin_class;
|
||||||
GstClock *clock;
|
|
||||||
|
|
||||||
g_mutex_lock (&init_lock);
|
g_mutex_lock (&init_lock);
|
||||||
|
|
||||||
|
@ -1129,9 +1128,9 @@ gst_deinit (void)
|
||||||
_gst_executable_path = NULL;
|
_gst_executable_path = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
clock = gst_system_clock_obtain ();
|
GstClock *clock = gst_system_clock_obtain ();
|
||||||
gst_object_unref (clock);
|
|
||||||
gst_object_unref (clock);
|
gst_object_unref (clock);
|
||||||
|
gst_clear_object (&clock);
|
||||||
|
|
||||||
_priv_gst_registry_cleanup ();
|
_priv_gst_registry_cleanup ();
|
||||||
_priv_gst_allocator_cleanup ();
|
_priv_gst_allocator_cleanup ();
|
||||||
|
|
|
@ -492,7 +492,6 @@ warning_flags = [
|
||||||
'-Waddress',
|
'-Waddress',
|
||||||
'-Waggregate-return',
|
'-Waggregate-return',
|
||||||
'-Wno-multichar',
|
'-Wno-multichar',
|
||||||
'-Wdeclaration-after-statement',
|
|
||||||
'-Wvla',
|
'-Wvla',
|
||||||
'-Wpointer-arith',
|
'-Wpointer-arith',
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue