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

HYPNO: Add a missing argument in function call #3944

Merged
merged 1 commit into from Jun 3, 2022

Conversation

orgads
Copy link
Contributor

@orgads orgads commented Jun 2, 2022

Reported by GCC 12:

../scummvm/engines/hypno/cursors.cpp:146:96: warning: the address of 'Hypno::HypnoEngine::_pixelFormat' will never be NULL [-Waddress]
  146 |         CursorMan.replaceCursor(entry->getPixels(), entry->w, entry->h, hotspotX, hotspotY, 0, &_pixelFormat);
      |                                                                                                ^~~~~~~~~~~~~

Reported by GCC 12:

../scummvm/engines/hypno/cursors.cpp:146:96: warning: the address of 'Hypno::HypnoEngine::_pixelFormat' will never be NULL [-Waddress]
  146 |         CursorMan.replaceCursor(entry->getPixels(), entry->w, entry->h, hotspotX, hotspotY, 0, &_pixelFormat);
      |                                                                                                ^~~~~~~~~~~~~
@orgads orgads requested a review from neuromancer Jun 2, 2022
@neuromancer neuromancer merged commit 3ef9fb9 into scummvm:master Jun 3, 2022
8 checks passed
@orgads orgads deleted the hypno-missing branch Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants