[vlc-commits] Fix indentation

Rémi Denis-Courmont git at videolan.org
Thu Oct 27 22:04:44 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Oct 27 23:04:23 2016 +0300| [947de88278494aa56614ac2c7ae3f3c89f699358] | committer: Rémi Denis-Courmont

Fix indentation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=947de88278494aa56614ac2c7ae3f3c89f699358
---

 src/modules/bank.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/modules/bank.c b/src/modules/bank.c
index 0d0cda8..f405974 100644
--- a/src/modules/bank.c
+++ b/src/modules/bank.c
@@ -591,14 +591,14 @@ module_t **module_list_get (size_t *n)
     for (vlc_plugin_t *lib = vlc_plugins; lib != NULL; lib = lib->next)
     {
         module_t **nt = realloc(tab, (i + lib->modules_count) * sizeof (*tab));
-         if (unlikely(nt == NULL))
-         {
-             free (tab);
-             *n = 0;
-             return NULL;
-         }
-
-         tab = nt;
+        if (unlikely(nt == NULL))
+        {
+            free (tab);
+            *n = 0;
+            return NULL;
+        }
+
+        tab = nt;
         for (module_t *m = lib->module; m != NULL; m = m->next)
             tab[i++] = m;
     }



More information about the vlc-commits mailing list