Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLADERUNNER: Fix compiler warning #1830

Merged
merged 1 commit into from Sep 5, 2019

Conversation

@jepael
Copy link
Contributor

commented Sep 5, 2019

Changed variable name from time to waittime.

Fixes the following compiler warning:

engines/bladerunner/framelimiter.cpp: In member function ‘void BladeRunner::Framelimiter::wait()’:
engines/bladerunner/framelimiter.cpp:58:10: warning: declaration of ‘wait’ shadows a member of 'this' [-Wshadow]
uint32 wait = _speedLimitMs - frameDuration;
^

@peterkohaut

This comment has been minimized.

Copy link
Contributor

commented Sep 5, 2019

ah, i did the same but i forgot to push it...

@peterkohaut peterkohaut merged commit 4253fea into scummvm:master Sep 5, 2019

2 checks passed

Codacy/PR Quality Review Up to standards. A positive pull request.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.