summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Batard <pete@akeo.ie>2011-10-31 01:45:53 +0000
committerPete Batard <pete@akeo.ie>2011-10-31 01:46:56 +0000
commit54244d1e396db533c057b21c44fcdeb3581a1a4e (patch)
treed6614fd451a415de05096df0045f6941644ab844
parent52a0e1857c36118a1287e857d2b787504f95e089 (diff)
downloadlibusb-54244d1e396db533c057b21c44fcdeb3581a1a4e.tar.gz
[xusb] remove unused variable
-rw-r--r--examples/xusb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/xusb.c b/examples/xusb.c
index bf43b0a..1a42cab 100644
--- a/examples/xusb.c
+++ b/examples/xusb.c
@@ -747,7 +747,6 @@ int test_device(uint16_t vid, uint16_t pid)
int main(int argc, char** argv)
{
bool show_help = false;
- bool got_vidpid = false;
bool debug_mode = false;
const struct libusb_version* version;
int j, r;
@@ -828,7 +827,6 @@ int main(int argc, char** argv)
}
VID = (uint16_t)tmp_vid;
PID = (uint16_t)tmp_pid;
- got_vidpid = true;
} else {
show_help = true;
}