Explorar o código

core/rthreads.h: fix missing return

S-P Chan hai 1 ano
pai
achega
1a2993ca37
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 	return ret;
 #else
 #else
-        fn(arg);
+        return fn(arg);
 #endif /* USE_TLS */
 #endif /* USE_TLS */
 }
 }
 #endif
 #endif