Diego Biurrun
2013-02-14 15:52:06 UTC
libdvdcss | branch: master | Diego Biurrun <***@biurrun.de> | Thu Feb 14 16:16:41 2013 +0100| [f70066c3997b0d2f1603deaa7b83e0b43390d0d6] | committer: Jean-Baptiste Kempf
dvd_region: Drop unused-but-set variable
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':
dvd_region: Drop unused-but-set variable
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':