Kaynağa Gözat

core/rthreads.h: fix missing return

S-P Chan 1 yıl önce
ebeveyn
işleme
1a2993ca37
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/core/rthreads.h

+ 1 - 1
src/core/rthreads.h

@@ -49,7 +49,7 @@ static void *run_threadP(_thread_proto fn, void *arg)
 
 	return ret;
 #else
-        fn(arg);
+        return fn(arg);
 #endif /* USE_TLS */
 }
 #endif