Skip to content

Commit

Permalink
remove rc
Browse files Browse the repository at this point in the history
  • Loading branch information
MBaesken committed Sep 26, 2024
1 parent c1d981c commit c04a074
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,12 @@ static int isInAquaSession() {
SplashCreateThread(Splash * splash) {
pthread_t thr;
pthread_attr_t attr;
int rc;

int rslt = pthread_attr_init(&attr);
if (rslt != 0) return;
rc = pthread_create(&thr, &attr, SplashScreenThread, (void *) splash);
if (rc != 0) {
fprintf(stderr, "Could not create SplashScreen thread, error number:%d\n", rc);
rslt = pthread_create(&thr, &attr, SplashScreenThread, (void *) splash);
if (rslt != 0) {
fprintf(stderr, "Could not create SplashScreen thread, error number:%d\n", rslt);
}
pthread_attr_destroy(&attr);
}
Expand Down

0 comments on commit c04a074

Please sign in to comment.