diff options
author | Felipe Contreras <felipe.contreras@nokia.com> | 2011-05-31 13:12:04 +0300 |
---|---|---|
committer | Felipe Contreras <felipe.contreras@nokia.com> | 2011-05-31 13:12:04 +0300 |
commit | f171a38b7ee412147b1e4e3e78211c94e81f948e (patch) | |
tree | bed54cd01b063a1061f98f5a050f374534231c81 | |
parent | 3b2938dcdbc37310b828ac3c8676694a684d8e65 (diff) |
plugin: remove unused variable
Fixes compilation with gcc 4.6.
gstomx.c:241:35: error: variable 'component_role' set but not used [-Werror=unused-but-set-variable]
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
-rw-r--r-- | omx/gstomx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c index c444de5..ee5c081 100644 --- a/omx/gstomx.c +++ b/omx/gstomx.c @@ -238,7 +238,7 @@ plugin_init (GstPlugin * plugin) const gchar *element_name = gst_structure_nth_field_name (element_table, i); GstStructure *element = get_element_entry (element_name); const gchar *type_name, *parent_type_name; - const gchar *component_name, *component_role, *library_name; + const gchar *component_name, *library_name; GType type; gint rank; @@ -248,7 +248,6 @@ plugin_init (GstPlugin * plugin) parent_type_name = gst_structure_get_string (element, "parent-type"); type_name = gst_structure_get_string (element, "type"); component_name = gst_structure_get_string (element, "component-name"); - component_role = gst_structure_get_string (element, "component-role"); library_name = gst_structure_get_string (element, "library-name"); if (!type_name || !component_name || !library_name) { |