fix: compiler warning `-Wswitch-enum`
authorGerrit Klein <therealthingy95@gmail.com>
Wed, 26 Apr 2023 21:44:56 +0000 (23:44 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 27 Apr 2023 14:28:53 +0000 (10:28 -0400)
commit8dd73cf99b9bd3dbbbbe7268088ffd3e66b2e50a
treedc1d9514b9d8522eded74ae14f2828011a0aaccb
parent95dbaebac014b148ea47a3d607e52295bc428224
fix: compiler warning `-Wswitch-enum`

Fixes warning "enumeration value ‘XXXX’ not handled in switch
[-Wswitch-enum]" which was observed on gcc 11.3.0 on Ubuntu 22.04 LTS
Linux 6.3.0 x86-64. This warning was enabled by the flag `-Wswitch-enum`
(see:
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wswitch-enum)

Signed-off-by: Gerrit Klein <therealthingy95@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I86cde0be01bf32cb5f6ea0ad313001bba717a9ff
include/rseq/rseq.h
This page took 0.023615 seconds and 4 git commands to generate.