URL:
https://github.com/SSSD/sssd/pull/481
Author: amitkumar50
Title: #481: gcc warnings: Getting rid of -Wsuggest-attribute=noreturn
Action: opened
PR body:
"""
-Wsuggest-attribute=noreturn warns about functions that might
be candidates for attributes "pure", "const" or
"noreturn".
Warning will be thrown if a function returns contain an infinite
loop or return abnormally by throwing, calling "abort" or trapping.
Here we are sure that functions will not return we can use
GCC variant: __attribute__((__noreturn__))
Resolves:
https://pagure.io/SSSD/sssd/issue/3604
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/481/head:pr481
git checkout pr481