Revert "modules: initialize return pointer to NULL"
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 19 Feb 2009 17:31:47 +0000 (19:31 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 19 Feb 2009 21:27:05 +0000 (23:27 +0200)
commit37af1e427d48f56f1033baabda39122dc699495c
tree837cc358178986567f6791cf5bc23736049af7f9
parenta744c7cf2fbb9a1f19d97a64e5f65d60e357e1cc
Revert "modules: initialize return pointer to NULL"

This reverts commit 866faad67c52b93f57d1fc32fa155ca12828e869.

    module_t **list, *module;

    list = module_list_get (NULL);
    if (!list)
        return NULL;

    for (size_t i = 0; (module = list[i]) != NULL; i++)
                        ^^^^^^^^
I think this needs no more comment.
src/modules/modules.c