projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
460672c
)
remove an unused-but-set variable
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 30 Jul 2011 15:57:17 +0000
(17:57 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 30 Jul 2011 15:57:17 +0000
(17:57 +0200)
ubus-example.c
patch
|
blob
|
history
diff --git
a/ubus-example.c
b/ubus-example.c
index 5de1436a0aba4f3a8ff921d6794f9b61271e66d4..ef77eea613e3a3ab839f2bdb759f7e6142224dc2 100644
(file)
--- 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':