r25000: Fix some more C++ compatibility warnings.
[samba.git] / source4 / dsdb / schema / schema_constructed.c
index 3ded84c1845f7df268406b1f8d1c1b1ad0de0636..51343817b0029396675c4f36089d19622018fdc6 100644 (file)
@@ -38,10 +38,6 @@ static char *dsdb_subSchema_list_append(char *v, const char *list_name)
                NULL
        };
 
-       if (!attrs) {
-               return v;
-       }
-
        v = talloc_asprintf_append(v, "%s ( ", list_name);
        if (!v) return NULL;