mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 00:58:12 +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/2702>
This commit is contained in:
parent
60060685d8
commit
49336862ef
11 changed files with 2 additions and 13 deletions
|
@ -135,7 +135,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',
|
||||||
]
|
]
|
||||||
|
|
|
@ -178,7 +178,6 @@ warning_flags = [
|
||||||
'-Waddress',
|
'-Waddress',
|
||||||
'-Wno-multichar',
|
'-Wno-multichar',
|
||||||
'-Waggregate-return',
|
'-Waggregate-return',
|
||||||
'-Wdeclaration-after-statement',
|
|
||||||
'-Wvla',
|
'-Wvla',
|
||||||
'-Wpointer-arith',
|
'-Wpointer-arith',
|
||||||
]
|
]
|
||||||
|
|
|
@ -348,7 +348,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',
|
||||||
]
|
]
|
||||||
|
|
|
@ -219,7 +219,6 @@ warning_flags = [
|
||||||
|
|
||||||
warning_c_flags = [
|
warning_c_flags = [
|
||||||
'-Wmissing-prototypes',
|
'-Wmissing-prototypes',
|
||||||
'-Wdeclaration-after-statement',
|
|
||||||
'-Wold-style-definition',
|
'-Wold-style-definition',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -235,7 +235,6 @@ warning_flags = [
|
||||||
|
|
||||||
warning_c_flags = [
|
warning_c_flags = [
|
||||||
'-Wmissing-prototypes',
|
'-Wmissing-prototypes',
|
||||||
'-Wdeclaration-after-statement',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
warning_cxx_flags = [
|
warning_cxx_flags = [
|
||||||
|
|
|
@ -213,7 +213,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',
|
||||||
]
|
]
|
||||||
|
|
|
@ -225,7 +225,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',
|
||||||
]
|
]
|
||||||
|
|
|
@ -1108,7 +1108,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);
|
||||||
|
|
||||||
|
@ -1145,9 +1144,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 ();
|
||||||
|
|
|
@ -455,7 +455,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