mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 06:39:32 -04:00
Clang 15 warns:
sys/dev/cxgbe/cudbg/cudbg_lib.c:2949:6: error: variable 'i' set but not used [-Werror,-Wunused-but-set-variable]
int i = 0;
^
Apparently 'i' was meant as the current retry counter, but '1' was used
in the while loop comparison instead, making the loop potentially
infinite, if 'busy' never gets reset.
MFC after: 3 days
Reviewed by: np
Differential Revision: https://reviews.freebsd.org/D35834
|
||
|---|---|---|
| .. | ||
| cudbg.h | ||
| cudbg_common.c | ||
| cudbg_entity.h | ||
| cudbg_flash_utils.c | ||
| cudbg_lib.c | ||
| cudbg_lib.h | ||
| cudbg_lib_common.h | ||
| cudbg_wtp.c | ||
| fastlz.c | ||
| fastlz.h | ||
| fastlz_api.c | ||