commit | 670f75f046f6f431255ab8836a4e63f877c64d2c | [log] [tgz] |
---|---|---|
author | Yegor Yefremov <yegorslists@googlemail.com> | Sun Feb 06 07:12:14 2022 +0100 |
committer | Tormod Volden <debian.tormod@gmail.com> | Wed Mar 16 17:53:00 2022 +0100 |
tree | 9f696e3892fa1b18b5590c0addd6e94b4eb77fd7 | |
parent | 561dbdacfbcd8f26c81900d1a1a16d2f44093e0e [diff] |
linux_usbfs: Fix maybe-uninitialized error with -O3 Initialize active_config to an invalid value to avoid the following compilation error: os/linux_usbfs.c: In function ‘op_get_configuration’: os/linux_usbfs.c:1452:12: error: ‘active_config’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 1452 | *config = (uint8_t)active_config; Closes #1062 Closes #1063 Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>