summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLassi Marttala <Lassi.LM.Marttala@partner.bmw.de>2012-07-18 11:27:50 +0200
committerChristian Muck <christian.muck@bmw.de>2012-09-27 09:02:33 +0200
commit76409ba6a98960ec910d93d159c820f25041eea8 (patch)
tree41a1e46663689cb463f80954d5f510336448caf0 /src
parente79829e9a65b0d1c7b371578278fef3f9e31fb54 (diff)
downloadDLT-daemon-76409ba6a98960ec910d93d159c820f25041eea8.tar.gz
[GDLT-115]: Prevent return value from DLT_REGISTER_APP
Diffstat (limited to 'src')
-rw-r--r--src/examples/dlt-example-filetransfer.c2
-rw-r--r--src/tests/dlt-test-filetransfer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/dlt-example-filetransfer.c b/src/examples/dlt-example-filetransfer.c
index b1d3e1a..01867de 100644
--- a/src/examples/dlt-example-filetransfer.c
+++ b/src/examples/dlt-example-filetransfer.c
@@ -194,7 +194,7 @@ int main(int argc, char* argv[])
}
//Register the application at the dlt-daemon
- dltResult = DLT_REGISTER_APP(apid,FLTR_APP_DESC);
+ DLT_REGISTER_APP(apid,FLTR_APP_DESC);
//Register the context of the main program at the dlt-daemon
dltResult = DLT_REGISTER_CONTEXT(fileContext,ctid,FLTR_CONTEXT_DESC);
diff --git a/src/tests/dlt-test-filetransfer.c b/src/tests/dlt-test-filetransfer.c
index 2d0b9ef..b436909 100644
--- a/src/tests/dlt-test-filetransfer.c
+++ b/src/tests/dlt-test-filetransfer.c
@@ -373,7 +373,7 @@ int main(void)
file3_3 = "dlt-test-filetransfer-doesntExist_3";
//Register the application at the dlt-daemon
- dltResult = DLT_REGISTER_APP("FLTR","Test Application filetransfer");
+ DLT_REGISTER_APP("FLTR","Test Application filetransfer");
// if(dltResult < 0){
// printf("Error: DLT_REIGSTER_APP: FLTR\n");
// return -1;