miinitext: drop sentinel detection during LoadExtension
All the sentinels from the extension lists were removed, thus the only case were this would trigger is when the code is broken badly. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
6fea450d41
commit
5ff34b5a0b
|
@ -369,9 +369,6 @@ LoadExtension(const ExtensionModule * e, Bool builtin)
|
||||||
{
|
{
|
||||||
ExtensionModule *newext;
|
ExtensionModule *newext;
|
||||||
|
|
||||||
if (e == NULL || e->name == NULL)
|
|
||||||
return;
|
|
||||||
|
|
||||||
/* Make sure built-in extensions get added to the list before those
|
/* Make sure built-in extensions get added to the list before those
|
||||||
* in modules. */
|
* in modules. */
|
||||||
AddStaticExtensions();
|
AddStaticExtensions();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user