src/thread/beos/SDL_systls.c
changeset 7392 7e32fcb41b44
parent 7391 a29895dc5e9a
child 7393 358696c354a8
--- a/src/thread/beos/SDL_systls.c	Wed Jul 10 02:32:04 2013 -0700
+++ b/src/thread/beos/SDL_systls.c	Wed Jul 10 02:37:57 2013 -0700
@@ -92,9 +92,7 @@
         for (i = oldlimit; i < newlimit; ++i) {
             data->data[i] = NULL;
         }
-        if (!tls_set(thread_local_storage, data)) {
-            return SDL_SetError("TlsSetValue() failed");
-        }
+        tls_set(thread_local_storage, data);
     }
 
     data->data[id-1] = SDL_const_cast(void*, value);