aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-15 06:03:10 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-15 06:03:10 +0200
commitc18a9a222f1b3acec4d390d510b25c26cf886656 (patch)
treee10b14e4d36d77334f78e9d2542e98536e5fd448
parentonly open semaphore array once (diff)
downloadbus-c18a9a222f1b3acec4d390d510b25c26cf886656.tar.gz
bus-c18a9a222f1b3acec4d390d510b25c26cf886656.tar.bz2
bus-c18a9a222f1b3acec4d390d510b25c26cf886656.tar.xz
remove unused variable
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/cmdline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmdline.c b/src/cmdline.c
index 9d1135b..a5af8f1 100644
--- a/src/cmdline.c
+++ b/src/cmdline.c
@@ -212,7 +212,7 @@ fail:
int
main(int argc, char *argv[])
{
- int saved_errno, value;
+ int saved_errno;
key_t key_sem = argc > 2 ? (key_t)atoll(argv[2]) : 0;
key_t key_shm = argc > 3 ? (key_t)atoll(argv[3]) : 0;
const char *message = argc > 4 ? argv[4] : "default message";