[libdvdnav-devel] [PATCH 07/33] Don't check for ifofile on deprecated function

beandog at gentoo.org beandog at gentoo.org
Thu Jan 15 21:45:19 CET 2015


From: Steve Dibb <steve.dibb at gmail.com>

---
 src/ifo_read.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/ifo_read.c b/src/ifo_read.c
index c2613ba..f7a3fad 100644
--- a/src/ifo_read.c
+++ b/src/ifo_read.c
@@ -1721,8 +1721,7 @@ static int ifoRead_C_ADT_internal(ifo_handle_t *ifofile,
 
 
 void ifoFree_C_ADT(ifo_handle_t *ifofile) {
-  if(!ifofile)
-    return;
+  return;
 }
 
 void ifoFree_TITLE_C_ADT(ifo_handle_t *ifofile) {
-- 
2.0.4



More information about the libdvdnav-devel mailing list