mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 01:02:19 +00:00
registry: remove dead code
The GError is only used for the mmap operations. If we have an error we handle and clean it there already.
This commit is contained in:
parent
b6926d6707
commit
f0b3839677
1 changed files with 1 additions and 4 deletions
|
@ -349,7 +349,7 @@ gst_registry_binary_initialize_magic (GstBinaryRegistryMagic * m)
|
||||||
* @location: a filename
|
* @location: a filename
|
||||||
*
|
*
|
||||||
* Write the @registry to a cache to file at given @location.
|
* Write the @registry to a cache to file at given @location.
|
||||||
*
|
*
|
||||||
* Returns: %TRUE on success.
|
* Returns: %TRUE on success.
|
||||||
*/
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
|
@ -617,9 +617,6 @@ done:
|
||||||
/* TODO: once we re-use the pointers to registry contents, return here */
|
/* TODO: once we re-use the pointers to registry contents, return here */
|
||||||
|
|
||||||
Error:
|
Error:
|
||||||
if (err)
|
|
||||||
g_error_free (err);
|
|
||||||
|
|
||||||
#ifndef GST_DISABLE_GST_DEBUG
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
g_timer_destroy (timer);
|
g_timer_destroy (timer);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue