mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
registrychunks: fix compilation with debugging disabled
Add ugly ifdef to fix unused variable warning when compiling with debug logging disabled.
This commit is contained in:
parent
ab5abab603
commit
dfc792c904
1 changed files with 3 additions and 1 deletions
|
@ -725,11 +725,13 @@ gboolean
|
|||
_priv_gst_registry_chunks_load_plugin (GstRegistry * registry, gchar ** in,
|
||||
gchar * end, GstPlugin ** out_plugin)
|
||||
{
|
||||
#ifndef GST_DISABLE_GST_DEBUG
|
||||
gchar *start = *in;
|
||||
#endif
|
||||
GstRegistryChunkPluginElement *pe;
|
||||
GstPlugin *plugin = NULL;
|
||||
gchar *cache_str = NULL;
|
||||
guint i, n;
|
||||
gchar *start = *in;
|
||||
|
||||
align (*in);
|
||||
GST_LOG ("Reading/casting for GstRegistryChunkPluginElement at address %p",
|
||||
|
|
Loading…
Reference in a new issue