cppcheck: Fix wrong check of enum values
cppcheck: Fix wrong check of enum values

(cherry picked from commit b18702dcdfbf3f2d0edcafdb23e31e26cc95a503)

probonopd/marble,probonopd/marble,probonopd/marble,probonopd/marble,probonopd/marble,probonopd/marble,probonopd/marble