diff options
author | Tarek BOCHKATI <tarek.bouchkati@gmail.com> | 2022-05-26 16:20:19 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2022-06-04 08:25:23 +0000 |
commit | 4f42600541d2f96a3a134699091e12179c82401a (patch) | |
tree | a586fa017fd0b6638805196699caed00b059fd93 /src/server | |
parent | 4a20a1d1c01f0abb8cc8aabecb19c1f900582136 (diff) | |
download | riscv-openocd-4f42600541d2f96a3a134699091e12179c82401a.zip riscv-openocd-4f42600541d2f96a3a134699091e12179c82401a.tar.gz riscv-openocd-4f42600541d2f96a3a134699091e12179c82401a.tar.bz2 |
flash/stm32l4x: fix scan-build warnings
fix "Declared variable-length array (VLA) has zero size" warnings
while at there instrument the probe function to ensure the flash bank
contains at least 1 sector
Change-Id: I3ba0e6345881557ad1aab2d1b41eee438b49fe04
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6470
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/server')
0 files changed, 0 insertions, 0 deletions