Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sblondon
Copy link
Contributor

Fix several unused variables detected by gcc and displayed such as:

morphskin.c:270:37: warning: variable ‘ss’ set but not used [-Wunused-but-set-variable]
270 | float cs,ct,ss,st;
| ^~
morphskin.c:270:31: warning: variable ‘cs’ set but not used [-Wunused-but-set-variable]
270 | float cs,ct,ss,st;
| ^~

Fix several unused variables detected by gcc and displayed such as:

morphskin.c:270:37: warning: variable ‘ss’ set but not used [-Wunused-but-set-variable]
  270 |                         float cs,ct,ss,st;
      |                                     ^~
morphskin.c:270:31: warning: variable ‘cs’ set but not used [-Wunused-but-set-variable]
  270 |                         float cs,ct,ss,st;
      |                               ^~
@sblondon
Copy link
Contributor Author

I discovered src/samples/Makefile.samples which helps a lot to find gcc warnings. ;-)

@sharkwouter sharkwouter merged commit 17f820d into pspdev:master May 14, 2025
1 check passed
@sblondon sblondon deleted the clean-remove-unused-variables branch May 14, 2025 09:50
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