mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +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',
|
||||
'-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',
|
||||
]
|
||||
|
|
|
@ -178,7 +178,6 @@ warning_flags = [
|
|||
'-Waddress',
|
||||
'-Wno-multichar',
|
||||
'-Waggregate-return',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wvla',
|
||||
'-Wpointer-arith',
|
||||
]
|
||||
|
|
|
@ -348,7 +348,6 @@ warning_flags = [
|
|||
|
||||
warning_c_flags = [
|
||||
'-Wmissing-prototypes',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wold-style-definition',
|
||||
'-Waggregate-return',
|
||||
]
|
||||
|
|
|
@ -219,7 +219,6 @@ warning_flags = [
|
|||
|
||||
warning_c_flags = [
|
||||
'-Wmissing-prototypes',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wold-style-definition',
|
||||
]
|
||||
|
||||
|
|
|
@ -235,7 +235,6 @@ warning_flags = [
|
|||
|
||||
warning_c_flags = [
|
||||
'-Wmissing-prototypes',
|
||||
'-Wdeclaration-after-statement',
|
||||
]
|
||||
|
||||
warning_cxx_flags = [
|
||||
|
|
|
@ -213,7 +213,6 @@ warning_flags = [
|
|||
|
||||
warning_c_flags = [
|
||||
'-Wmissing-prototypes',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wold-style-definition',
|
||||
'-Waggregate-return',
|
||||
]
|
||||
|
|
|
@ -225,7 +225,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',
|
||||
]
|
||||
|
|
|
@ -1108,7 +1108,6 @@ void
|
|||
gst_deinit (void)
|
||||
{
|
||||
GstBinClass *bin_class;
|
||||
GstClock *clock;
|
||||
|
||||
g_mutex_lock (&init_lock);
|
||||
|
||||
|
@ -1145,9 +1144,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 ();
|
||||
|
|
|
@ -455,7 +455,6 @@ warning_flags = [
|
|||
'-Waddress',
|
||||
'-Waggregate-return',
|
||||
'-Wno-multichar',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wvla',
|
||||
'-Wpointer-arith',
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue