Skip to content
Snippets Groups Projects
Commit 92ad0f9a authored by neil's avatar neil
Browse files

Return an integer instead of void in function that returns an integer

git-svn-id: http://svn.net-core.org/repos/t-engine4@2944 51575b47-30f0-44d4-a5cc-537603b46e54
parent 4af85a32
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@ int create_profile_thread(lua_State *L)
thread = SDL_CreateThread(thread_profile, profile);
if (thread == NULL) {
printf("Unable to create profile thread: %s\n", SDL_GetError());
return;
return -1;
}
profile->thread = thread;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment