]> git.tuebingen.mpg.de Git - osl.git/blobdiff - osl.c
Fix a dead initialization.
[osl.git] / osl.c
diff --git a/osl.c b/osl.c
index 9e6de44f9b6192a465b172567737524dbef76f67..1179307c1d21ddf0c3d9bb0731ea1fcb3cc700c8 100644 (file)
--- a/osl.c
+++ b/osl.c
@@ -148,11 +148,6 @@ static int verify_name(const char *name)
        return 1;
 }
 
-int osl_hash_compare(const struct osl_object *obj1, const struct osl_object *obj2)
-{
-       return hash_compare((HASH_TYPE *)obj1->data, (HASH_TYPE *)obj2->data);
-}
-
 static char *disk_storage_dirname(const struct osl_table *t, unsigned col_num,
                const char *ds_name)
 {
@@ -199,7 +194,6 @@ static int init_column_descriptions(struct osl_table *t)
        int i, j, ret;
        const struct osl_column_description *cd;
 
-       ret = -E_OSL_BAD_TABLE_DESC;
        ret = verify_name(t->desc->name);
        if (ret < 0)
                goto err;