mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
loader: Remove the handle field from LoaderOpen
This was always 0 from all the callers. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
@@ -926,7 +926,7 @@ doLoadModule(const char *module, const char *path, const char **subdirlist,
|
||||
*errmin = 0;
|
||||
goto LoadModule_fail;
|
||||
}
|
||||
ret->handle = LoaderOpen(found, 0, errmaj, errmin, &wasLoaded, flags);
|
||||
ret->handle = LoaderOpen(found, errmaj, errmin, &wasLoaded, flags);
|
||||
if (ret->handle < 0)
|
||||
goto LoadModule_fail;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user