summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorLassi Marttala <Lassi.LM.Marttala@partner.bmw.de>2013-01-25 13:56:08 +0100
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2013-07-19 16:54:21 +0200
commit06d85034559e3d7fd7a10e1caaa77fe79bf25a68 (patch)
tree572c57690f04bcb798dfba9b0b38266283556f3e /src/examples
parent78e1afcc7a1e0f3f7103ee242bdd08c1bef755ee (diff)
downloadDLT-daemon-06d85034559e3d7fd7a10e1caaa77fe79bf25a68.tar.gz
Fix compiler warnings
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/examples')
-rwxr-xr-xsrc/examples/dlt-example-user-func.c7
-rwxr-xr-xsrc/examples/dlt-example-user.c7
2 files changed, 0 insertions, 14 deletions
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;