summary refs log tree commit diff
path: root/elf/dl-deps.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-03-10 16:11:29 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-03-10 16:11:29 -0300
commitfbaf0bae5722307ebede45596e99cdf2837a40c1 (patch)
treee853295a63e6c9cab3beca058617f8a41550d2ee /elf/dl-deps.c
parent8b8f39376be81dc09560d23dbec59cd7080d54f6 (diff)
downloadglibc-fbaf0bae5722307ebede45596e99cdf2837a40c1.tar.gz
glibc-fbaf0bae5722307ebede45596e99cdf2837a40c1.tar.xz
glibc-fbaf0bae5722307ebede45596e99cdf2837a40c1.zip
elf: Fix wrong indentation from commit eb447b7b4b
Diffstat (limited to 'elf/dl-deps.c')
-rw-r--r--elf/dl-deps.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/elf/dl-deps.c b/elf/dl-deps.c
index 0730ea9bd1..b5a43232a7 100644
--- a/elf/dl-deps.c
+++ b/elf/dl-deps.c
@@ -492,11 +492,12 @@ _dl_map_object_deps (struct link_map *map,
       if (__builtin_expect (trace_mode, 0) && runp->map->l_faked)
 	/* This can happen when we trace the loading.  */
 	--map->l_searchlist.r_nlist;
-      else {
-	if (runp->map == map)
-	  map_index = nlist;
-	map->l_searchlist.r_list[nlist++] = runp->map;
-      }
+      else
+	{
+	  if (runp->map == map)
+	    map_index = nlist;
+	  map->l_searchlist.r_list[nlist++] = runp->map;
+	}
 
       /* Now clear all the mark bits we set in the objects on the search list
 	 to avoid duplicates, so the next call starts fresh.  */