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.veli...@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

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to