[libbluray-devel] disc: hide unused parameters warnings

hpi1 git at videolan.org
Wed Apr 15 10:39:30 CEST 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Apr 15 11:39:09 2015 +0300| [4ab2bbf4078839fbda8a3bb03551502318e1fd12] | committer: hpi1

disc: hide unused parameters warnings

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=4ab2bbf4078839fbda8a3bb03551502318e1fd12
---

 src/libbluray/disc/disc.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/libbluray/disc/disc.c b/src/libbluray/disc/disc.c
index f6a6fda..e4baf7f 100644
--- a/src/libbluray/disc/disc.c
+++ b/src/libbluray/disc/disc.c
@@ -264,6 +264,9 @@ BD_DISC *disc_open(const char *device_path,
             dir_close(dp_img);
             BD_DEBUG(DBG_FILE, "%s does not seem to be image file or device node\n", device_path);
         }
+#else
+        (void)read_blocks_handle;
+        (void)read_blocks;
 #endif
 
         struct dec_dev dev = { p->fs_handle, p->pf_file_open_bdrom, p, (file_openFp)disc_open_path, p->disc_root, device_path };



More information about the libbluray-devel mailing list