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>2014-03-10 09:15:12 +0100
commit805c7e9ffd36efd03314d9febe892670e28f10f8 (patch)
tree0fd5b389e69a0015fe65e2bfcccd27c5659962ab /examples
parent17b63439996760ce898978b82c8c4fe6443efb8f (diff)
downloadlibusbg-805c7e9ffd36efd03314d9febe892670e28f10f8.tar.gz
libusbg-805c7e9ffd36efd03314d9febe892670e28f10f8.tar.bz2
libusbg-805c7e9ffd36efd03314d9febe892670e28f10f8.zip
libusbg: Remove unused variables to make compiler happy.
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) {