commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 13/43: Fix harmless indentation errors tripping [-Wmisleading-ind


From: Samuel Thibault
Subject: [hurd] 13/43: Fix harmless indentation errors tripping [-Wmisleading-indentation].
Date: Mon, 11 Sep 2017 07:10:09 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit d4d2d12f24ca625daf32dcfc8e75576420ffbd2f
Author: Justus Winter <address@hidden>
Date:   Sat Aug 5 17:55:31 2017 +0200

    Fix harmless indentation errors tripping [-Wmisleading-indentation].
    
    * trans/new-fifo.c (main): Fix indentation.
    * utils/rpctrace.c (discover_receive_right): Likewise.
---
 trans/new-fifo.c | 2 +-
 utils/rpctrace.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/trans/new-fifo.c b/trans/new-fifo.c
index f11ceca..c293b76 100644
--- a/trans/new-fifo.c
+++ b/trans/new-fifo.c
@@ -220,7 +220,7 @@ main (int argc, char **argv)
   if (err)
     error (1, 0, "error creating protid port class");
 
-    err = trivfs_add_protid_port_class (&server_port_class);
+  err = trivfs_add_protid_port_class (&server_port_class);
   if (err)
     error (1, 0, "error creating protid port class");
 
diff --git a/utils/rpctrace.c b/utils/rpctrace.c
index cb4df8a..e866412 100644
--- a/utils/rpctrace.c
+++ b/utils/rpctrace.c
@@ -493,8 +493,8 @@ discover_receive_right (mach_port_t send, task_t task)
       && !(info->task != unknown_task
          && info->portname == UNKNOWN_NAME))
     return info;
-  
-    {
+
+  {
       int j;
       mach_port_t *portnames = NULL;
       mach_msg_type_number_t nportnames = 0;
@@ -558,7 +558,7 @@ discover_receive_right (mach_port_t send, task_t task)
 
       if (receiver_info)
        return receiver_info;
-    }
+  }
   return NULL;
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]