fixed unused variable

This commit is contained in:
tumbili
2015-12-01 15:01:15 +01:00
parent 905edfd9c9
commit 33f85a5024
2 changed files with 7 additions and 8 deletions
+1 -2
View File
@@ -119,10 +119,9 @@ static void hrt_work_process()
uint32_t remaining;
uint32_t next;
int rv;
// set the threads name
#ifdef __PX4_DARWIN
rv = pthread_setname_np("HRT");
pthread_setname_np("HRT");
#else
// The Linux headers do not actually contain this
//rv = pthread_setname_np(pthread_self(), "HRT");