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 as_nsdragoperation #104

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Conversation

martincapello
Copy link
Member

The variable used as the return value of the function had an undefined initial value which lead to unpredictable return values.
Also took the chance to refactor a couple of lines of code.

The variable used as the return value of the function had an undefined
initial value which lead to unpredictable return values. Also took the
chance to refactor the initial value of the variable used in
as_dropoperation
Refactors the initial value of the variable used in as_dropoperation to
use a static cast of the enum value instead of 0.
@aseprite-bot
Copy link
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

@dacap dacap merged commit fc919ec into aseprite:main Sep 3, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants