Selaa lähdekoodia

core/rthreads.h: fix missing return

S-P Chan 1 vuosi sitten
vanhempi
commit
1a2993ca37
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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