aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2015-05-02 21:46:37 +0200
committerThomas Gubler <thomasgubler@gmail.com>2015-05-02 21:46:37 +0200
commit44153eeaa103feb42ae9f25cb183eeeadc8de4f2 (patch)
tree3095eba7cc57f2038a1cf6f8be9226b756332ad8
parent2a46e0f0b6a9521015e05b87209de7f9604b9205 (diff)
downloadpx4-firmware-44153eeaa103feb42ae9f25cb183eeeadc8de4f2.tar.gz
px4-firmware-44153eeaa103feb42ae9f25cb183eeeadc8de4f2.tar.bz2
px4-firmware-44153eeaa103feb42ae9f25cb183eeeadc8de4f2.zip
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;
}
-
-