Fixes compilation on gcc-10.

---
 i386/i386/pcb.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/i386/i386/pcb.c b/i386/i386/pcb.c
index e4ac2bb9..7573322a 100644
--- a/i386/i386/pcb.c
+++ b/i386/i386/pcb.c
@@ -742,6 +742,7 @@ kern_return_t thread_getstatus(
 {
        switch (flavor)  {
            case THREAD_STATE_FLAVOR_LIST:
+           {
 #if !defined(__x86_64__) || defined(USER32)
                unsigned int ncount = 4;
 #else
@@ -757,6 +758,7 @@ kern_return_t thread_getstatus(
 #endif
                *count = ncount;
                break;
+           }
 
            case i386_THREAD_STATE:
            case i386_REGS_SEGS_STATE:
-- 
2.51.0



Reply via email to