فهرست منبع

Readability: remove redundant cast

Sylvain Becker 5 سال پیش
والد
کامیت
dab55a8d23
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/loadso/dlopen/SDL_sysloadso.c

+ 1 - 1
src/loadso/dlopen/SDL_sysloadso.c

@@ -48,7 +48,7 @@ SDL_LoadObject(const char *sofile)
 #endif
 
     handle = dlopen(sofile, RTLD_NOW|RTLD_LOCAL);
-    loaderror = (char *) dlerror();
+    loaderror = dlerror();
     if (handle == NULL) {
         SDL_SetError("Failed loading %s: %s", sofile, loaderror);
     }