[krbdev.mit.edu #8639] git commit

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[krbdev.mit.edu #8639] git commit

Greg Hudson via RT-2

Always set appdefault_get() output argument

gcc 7 cannot determine that appdefault_get() always sets *ret_value
when it returns zero, so issues a "may be used uninitialized" warning
in its caller.  Set *ret_value at the beginning of the function body
in accordance with current practices.

[[hidden email]: clarified commit message]

(cherry picked from commit 364c608911af2f227695bb527d4e42f091ee8bd3)

https://github.com/krb5/krb5/commit/997f13c7eba859b28671970ea8a11356018117d8
Author: Nehal J Wani <[hidden email]>
Committer: Greg Hudson <[hidden email]>
Commit: 997f13c7eba859b28671970ea8a11356018117d8
Branch: krb5-1.16
 src/lib/krb5/krb/appdefault.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

_______________________________________________
krb5-bugs mailing list
[hidden email]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs