summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2016-11-04 17:03:39 -0500
committerPatrick Williams <patrick@stwcx.xyz>2016-11-04 17:03:41 -0500
commit696e315927741a15c69e6b1510a3aa54e558bb72 (patch)
tree1c04d9cfa9b35fdc020b6f098420c2f1cd485267 /test
parent5e0b68172395c45d8eb8fcc6756201cb061bd2c9 (diff)
downloadsdbusplus-696e315927741a15c69e6b1510a3aa54e558bb72.tar.gz
sdbusplus-696e315927741a15c69e6b1510a3aa54e558bb72.zip
message: compile warning in testcases
Thread functions (non-void) were missing a return. Change-Id: Ib7804d92f79b96428285058101e64dceea7ad66e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'test')
-rw-r--r--test/message/append.cpp2
-rw-r--r--test/message/read.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/message/append.cpp b/test/message/append.cpp
index 84dcc28..fcf3dd9 100644
--- a/test/message/append.cpp
+++ b/test/message/append.cpp
@@ -63,6 +63,8 @@ void* server(void* b)
break;
}
}
+
+ return nullptr;
}
auto newMethodCall__test(sdbusplus::bus::bus& b)
diff --git a/test/message/read.cpp b/test/message/read.cpp
index 6472907..de5dc89 100644
--- a/test/message/read.cpp
+++ b/test/message/read.cpp
@@ -65,6 +65,8 @@ void* server(void* b)
break;
}
}
+
+ return nullptr;
}
auto newMethodCall__test(sdbusplus::bus::bus& b)
OpenPOWER on IntegriCloud