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

Fix uninitialized variable use #613

Merged
merged 1 commit into from
Jul 11, 2016
Merged

Fix uninitialized variable use #613

merged 1 commit into from
Jul 11, 2016

Conversation

ideasman42
Copy link
Collaborator

Both these variables are read before being initialized.

./toonz/sources/toonz/previewer.cpp:315:  if (m_subcamera && subCameraRect.getLx() > 0 && subCameraRect.getLy() > 0) {

./toonz/sources/tnztools/tooloptions.cpp:581:  if (splined != m_splined) m_splined = splined;

@ideasman42
Copy link
Collaborator Author

Seems that the build stalled on OSX, but didn't fail.

@kogaki
Copy link
Member

kogaki commented Jul 10, 2016

Build restarted

@ideasman42 ideasman42 added the bug label Jul 10, 2016
@kogaki
Copy link
Member

kogaki commented Jul 11, 2016

Good refactoring. Thanks.

@kogaki kogaki merged commit 9b2bfda into opentoonz:master Jul 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants