Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Fix V562 warning from PVS-Studio Static Analyzer #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix V562 warning from PVS-Studio Static Analyzer #2

wants to merge 1 commit into from

Conversation

buslov
Copy link

@buslov buslov commented Oct 31, 2017

I'm a member of the Pinguem.ru competition on finding errors in open source projects. A bug, found using PVS-Studio.

Warning:
It's odd to compare 0 or 1 with a value of 45: !* tok == '-'.
Operation ! executes before ==

It's odd to compare 0 or 1 with a value of 45: !* tok == '-'.
Operation ! executes before ==
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant