On 18/01/2022 22:42, Segher Boessenkool wrote:
+    default:
+      break;
Please don't do that.  You can do

   default:
     break;
     break;
     /* And just to make sure:  */
     break;
     break;

and it will do exactly the same as not having a default at all.  Not
having such useless code is by far the most readable, so please don't
include a default case at all.

I removed the default case. I hope this is what you wanted.


Okay with those changes.  Thanks!

Thanks for having a look at this. I would like to back port this patch also to the GCC 10 and 11 branches.

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/

Reply via email to