Skip to content

Commit

Permalink
sys: tiny factorization
Browse files Browse the repository at this point in the history
  • Loading branch information
Aranud committed Feb 16, 2017
1 parent d7991ca commit 725a070
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/sys/sys_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -655,8 +655,6 @@ static void *Sys_TryLibraryLoad(const char *base, const char *gamedir, const cha
}
}

return libHandle;

#else // __APPLE__

fn = FS_BuildOSPath(base, gamedir, fname);
Expand All @@ -670,9 +668,9 @@ static void *Sys_TryLibraryLoad(const char *base, const char *gamedir, const cha
return NULL;
}

#endif // __APPLE__
Com_Printf("succeeded\n");

Com_Printf("succeeded\n");
#endif // __APPLE__

return libHandle;
}
Expand Down

0 comments on commit 725a070

Please sign in to comment.