Fix CodeQL alerts (#16)

2 files changed