[libdvdcss-devel] dvd_region: Drop unused-but-set variable

Diego Biurrun git at videolan.org
Thu Feb 14 16:52:06 CET 2013


libdvdcss | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Feb 14 16:16:41 2013 +0100| [f70066c3997b0d2f1603deaa7b83e0b43390d0d6] | committer: Jean-Baptiste Kempf

dvd_region: Drop unused-but-set variable

Signed-off-by: Diego Biurrun <diego at biurrun.de>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=f70066c3997b0d2f1603deaa7b83e0b43390d0d6
---

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

diff --git a/test/dvd_region.c b/test/dvd_region.c
index 7466b5d..c667a58 100644
--- a/test/dvd_region.c
+++ b/test/dvd_region.c
@@ -246,12 +246,11 @@ static void usage(void)
 
 int main(int argc, char *argv[])
 {
-  char device_name[FILENAME_MAX], c, set, get, region = 0;
+  char device_name[FILENAME_MAX], c, set, region = 0;
   int fd, ret;
 
   strcpy(device_name, DEFAULT_DEVICE);
   set = 0;
-  get = 1;
   while( (c = getopt(argc, argv, "d:sr:h?")) != EOF ) {
     switch( c ) {
     case 'd':



More information about the libdvdcss-devel mailing list