From 06d85034559e3d7fd7a10e1caaa77fe79bf25a68 Mon Sep 17 00:00:00 2001 From: Lassi Marttala Date: Fri, 25 Jan 2013 13:56:08 +0100 Subject: Fix compiler warnings Signed-off-by: Alexander Wenzel --- src/examples/dlt-example-user-func.c | 7 ------- src/examples/dlt-example-user.c | 7 ------- 2 files changed, 14 deletions(-) (limited to 'src/examples') diff --git a/src/examples/dlt-example-user-func.c b/src/examples/dlt-example-user-func.c index 100d0c1..c0adff1 100755 --- a/src/examples/dlt-example-user-func.c +++ b/src/examples/dlt-example-user-func.c @@ -90,7 +90,6 @@ void usage() printf("Generate DLT messages and store them to file or send them to daemon.\n"); printf("%s \n", version); printf("Options:\n"); - printf(" -v Verbose mode\n"); printf(" -d delay Milliseconds to wait between sending messages (Default: 500)\n"); printf(" -f filename Use local log file instead of sending to daemon\n"); printf(" -n count Number of messages to be generated (Default: 10)\n"); @@ -103,7 +102,6 @@ void usage() */ int main(int argc, char* argv[]) { - int vflag = 0; int gflag = 0; int aflag = 0; char *dvalue = 0; @@ -123,11 +121,6 @@ int main(int argc, char* argv[]) { switch (c) { - case 'v': - { - vflag = 1; - break; - } case 'g': { gflag = 1; diff --git a/src/examples/dlt-example-user.c b/src/examples/dlt-example-user.c index afe2be0..2127445 100755 --- a/src/examples/dlt-example-user.c +++ b/src/examples/dlt-example-user.c @@ -90,7 +90,6 @@ void usage() printf("Generate DLT messages and store them to file or send them to daemon.\n"); printf("%s \n", version); printf("Options:\n"); - printf(" -v Verbose mode\n"); printf(" -d delay Milliseconds to wait between sending messages (Default: 500)\n"); printf(" -f filename Use local log file instead of sending to daemon\n"); printf(" -n count Number of messages to be generated (Default: 10)\n"); @@ -109,7 +108,6 @@ void usage() */ int main(int argc, char* argv[]) { - int vflag = 0; int gflag = 0; int aflag = 0; #ifdef DLT_TEST_ENABLE @@ -141,11 +139,6 @@ int main(int argc, char* argv[]) { switch (c) { - case 'v': - { - vflag = 1; - break; - } case 'g': { gflag = 1; -- cgit v1.2.1