From: Felix Fietkau Date: Sat, 30 Jul 2011 15:57:17 +0000 (+0200) Subject: remove an unused-but-set variable X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=52ce4320ed44d8ca1aed61b1eae4bb651082679a;p=oweals%2Fubus.git remove an unused-but-set variable --- diff --git a/ubus-example.c b/ubus-example.c index 5de1436..ef77eea 100644 --- a/ubus-example.c +++ b/ubus-example.c @@ -73,12 +73,10 @@ static struct ubus_object test_object2 = { int main(int argc, char **argv) { - const char *progname, *ubus_socket = NULL; + const char *ubus_socket = NULL; int ret = 0; int ch; - progname = argv[0]; - while ((ch = getopt(argc, argv, "s:")) != -1) { switch (ch) { case 's':