[PATCH 2/5] miinitext: drop sentinel detection during LoadExtension

Emil Velikov emil.l.velikov at gmail.com
Wed Feb 5 08:20:14 PST 2014


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 at gmail.com>
---
 mi/miinitext.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/mi/miinitext.c b/mi/miinitext.c
index 9d5125e..099ac42 100644
--- a/mi/miinitext.c
+++ b/mi/miinitext.c
@@ -369,9 +369,6 @@ LoadExtension(const ExtensionModule * e, Bool builtin)
 {
     ExtensionModule *newext;
 
-    if (e == NULL || e->name == NULL)
-        return;
-
     /* Make sure built-in extensions get added to the list before those
      * in modules. */
     AddStaticExtensions();
-- 
1.8.5.2



More information about the xorg-devel mailing list