[libbluray-devel] Silence warnings when building without BD-J
hpi1
git at videolan.org
Tue Jan 6 15:39:30 CET 2015
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Dec 4 22:25:11 2014 +0200| [ab3fcf0223d284866fa79714992eb302ca42f5dd] | committer: hpi1
Silence warnings when building without BD-J
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=ab3fcf0223d284866fa79714992eb302ca42f5dd
---
src/libbluray/bluray.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 43ec17d..473d491 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -3529,6 +3529,7 @@ struct bdjo_data *bd_read_bdjo(const char *bdjo_file)
#ifdef USING_BDJAVA
return bdjo_parse(bdjo_file);
#else
+ (void)bdjo_file;
return NULL;
#endif
}
@@ -3537,5 +3538,7 @@ void bd_free_bdjo(struct bdjo_data *obj)
{
#ifdef USING_BDJAVA
bdjo_free(&obj);
+#else
+ (void)obj;
#endif
}
More information about the libbluray-devel
mailing list