GnuTLS | Fix compiler warnings (!2124)
"\(Deprecated\) Read-only notification of GnuTLS library development activities" <[email protected]>
| Newsgroups | gmane.comp.encryption.gpg.gnutls.devel |
|---|---|
| Message-ID | <[email protected]> |
Daiki Ueno created a merge request: https://gitlab.com/gnutls/gnutls/-/merge_requests/2124 Project:Branches: dueno/gnutls:wip/dueno/warning-fixes to gnutls/gnutls:master Author: Daiki Ueno <!-- Add a description of the new feature/bug fix. Reference any relevant bugs. --> * eagain-cli: suppress -Wunused-but-set-variable warning * build: suppress -Wdiscarded-qualifiers warnings The string search functions, such as strstr, etc., now checks the return type matches the first argument. * cert: suppress -Wunused-but-set-parameter warning This makes get_issuers validate the input data size to properly "use" the argument. * supported_groups: suppress -Wreturn-type warnings For historical reasons, an entity (GNUTLS_CLIENT or GNUTLS_SERVER) is defined as part of gnutls_init_flags_t enum which has more members and prevents using a switch to cover all branches. ## Checklist * [x] Commits have `Signed-off-by:` with name/author being identical to the commit author * [ ] Code modified for feature * [ ] Test suite updated with functionality tests * [ ] Test suite updated with negative tests * [ ] Documentation updated / NEWS entry present (for non-trivial changes) ## Reviewer's checklist: * [ ] Any issues marked for closing are addressed * [ ] There is a test suite reasonably covering new functionality or modifications * [ ] Function naming, parameters, return values, types, etc., are consistent and according to `CONTRIBUTION.md` * [ ] This feature/change has adequate documentation added * [ ] No obvious mistakes in the code -- Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2124 You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/namespace/17175643/sent_notifications/6-0x18anpfyji1jebni0tet16yu-a84t7/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help _______________________________________________ Gnutls-devel mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-devel