aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2015-05-03 10:12:57 +0200
committerThomas Gubler <thomasgubler@gmail.com>2015-05-03 10:12:57 +0200
commit731bd97f392d875b0fc3f6319e9beb8f22fe514c (patch)
tree3095eba7cc57f2038a1cf6f8be9226b756332ad8
parent2a46e0f0b6a9521015e05b87209de7f9604b9205 (diff)
parent44153eeaa103feb42ae9f25cb183eeeadc8de4f2 (diff)
downloadpx4-firmware-731bd97f392d875b0fc3f6319e9beb8f22fe514c.tar.gz
px4-firmware-731bd97f392d875b0fc3f6319e9beb8f22fe514c.tar.bz2
px4-firmware-731bd97f392d875b0fc3f6319e9beb8f22fe514c.zip
Merge pull request #2116 from PX4/ros_perf_counter_return
ros perf counter dummy: fix warning about missing return
-rwxr-xr-xsrc/platforms/ros/perf_counter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/platforms/ros/perf_counter.cpp b/src/platforms/ros/perf_counter.cpp
index a71801397..8e9670737 100755
--- a/src/platforms/ros/perf_counter.cpp
+++ b/src/platforms/ros/perf_counter.cpp
@@ -170,7 +170,5 @@ void perf_reset_all(void)
*/
uint64_t perf_event_count(perf_counter_t handle)
{
-
+ return 0;
}
-
-