fix #337: Code inspection: "convert to constant"