]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
A little bit in indentation
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 7 Jun 2022 18:38:17 +0000 (20:38 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 7 Jun 2022 18:38:17 +0000 (20:38 +0200)
coregrind/m_scheduler/scheduler.c

index ea36cd4f5640475277458ef34ddaf3b99d77bac5..00cc0c6889788165bc1dfa7d04ebdfb2cb6c110e 100644 (file)
@@ -309,8 +309,8 @@ ThreadId VG_(alloc_ThreadState) ( void )
    Int i;
    for (i = 1; i < VG_N_THREADS; i++) {
       if (VG_(threads)[i].status == VgTs_Empty) {
-        VG_(threads)[i].status = VgTs_Init;
-        VG_(threads)[i].exitreason = VgSrc_None;
+         VG_(threads)[i].status = VgTs_Init;
+         VG_(threads)[i].exitreason = VgSrc_None;
          if (VG_(threads)[i].thread_name)
             VG_(free)(VG_(threads)[i].thread_name);
          VG_(threads)[i].thread_name = NULL;
@@ -469,9 +469,9 @@ void VG_(get_thread_out_of_syscall)(ThreadId tid)
 
    if (VG_(threads)[tid].status == VgTs_WaitSys) {
       if (VG_(clo_trace_signals)) {
-        VG_(message)(Vg_DebugMsg, 
+         VG_(message)(Vg_DebugMsg,
                       "get_thread_out_of_syscall zaps tid %u lwp %d\n",
-                     tid, VG_(threads)[tid].os_state.lwpid);
+                      tid, VG_(threads)[tid].os_state.lwpid);
       }
 #     if defined(VGO_darwin)
       {
@@ -657,7 +657,7 @@ static void sched_fork_cleanup(ThreadId me)
    for (tid = 1; tid < VG_N_THREADS; tid++) {
       if (tid != me) {
          mostly_clear_thread_record(tid);
-        VG_(threads)[tid].status = VgTs_Empty;
+         VG_(threads)[tid].status = VgTs_Empty;
          VG_(clear_syscallInfo)(tid);
       }
    }