Am 01.05.21 um 15:06 schrieb Antonio Quartulli:
> From: Antonio Quartulli <anto...@openvpn.net>
> 
> A switch block in interactive.c is missing the _undo_type_max value
> of the neum set, thus triggering a compiler warning.
> 
> Due to the logic, this value cannot really be assigned to the variable
> being examinated, however, add the missing enum value to silence
> the warning.
> 
> Fixes:
> 
> interactive.c: In function ‘Undo’:
> interactive.c:1561:13: warning: enumeration value ‘_undo_type_max’ not 
> handled in switch [-Wswitch]
>  1561 |             switch (type)
>       |             ^~~~~~
> 
>

Acked-By: Arne Schwabe <a...@rfc2549.org>


_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to