Commit e6f30aef authored by Erhan Kurubas's avatar Erhan Kurubas
Browse files

src: fix clang15 compiler warnings



Below warnings are fixed.

1- A function declaration without a prototype is deprecated in all
versions of C [-Werror,-Wstrict-prototypes]

2- error: variable set but not used [-Werror,-Wunused-but-set-variable]

Signed-off-by: default avatarErhan Kurubas <erhan.kurubas@espressif.com>
Change-Id: I1cf14b8e5e3e732ebc9cacc4b1cb9009276a8ea9
Reviewed-on: https://review.openocd.org/c/openocd/+/7569


Reviewed-by: default avatarAntonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
parent 1a089d84
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment