summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2014-02-19 11:15:55 +0100
committerKrzysztof Opasiak <k.opasiak@samsung.com>2015-12-22 20:35:21 +0100
commit2631010de53743454afae477ed3811b3d5472ad4 (patch)
treef5e49b5a66bcba8d6fc7b797f9acbe732e8c7c59 /examples
parent93ab85191cdd7f1141b31da3ebf1dad70addc0c8 (diff)
downloadlibusbg-2631010de53743454afae477ed3811b3d5472ad4.tar.gz
libusbg-2631010de53743454afae477ed3811b3d5472ad4.tar.bz2
libusbg-2631010de53743454afae477ed3811b3d5472ad4.zip
libusbgx: Remove unused variables to make compiler happy.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> [Port from libusbg and update description] Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/gadget-acm-ecm.c1
-rw-r--r--examples/show-gadgets.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/examples/gadget-acm-ecm.c b/examples/gadget-acm-ecm.c
index b3c776d..5b027b6 100644
--- a/examples/gadget-acm-ecm.c
+++ b/examples/gadget-acm-ecm.c
@@ -31,7 +31,6 @@ int main(void)
{
usbg_state *s;
usbg_gadget *g;
- usbg_function *f;
usbg_config *c;
usbg_function *f_acm0, *f_acm1, *f_ecm;
int ret = -EINVAL;
diff --git a/examples/show-gadgets.c b/examples/show-gadgets.c
index 9814039..7ba9687 100644
--- a/examples/show-gadgets.c
+++ b/examples/show-gadgets.c
@@ -125,7 +125,6 @@ int main(void)
usbg_gadget *g;
usbg_function *f;
usbg_config *c;
- usbg_binding *b;
s = usbg_init("/sys/kernel/config");
if (!s) {