Ubuntu runs ppc64el builds with -O3, which elicited a few warnings
from gcc that were not generated elsewhere, as documented at
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/
1592841 .
Initialize the output variable at the top of a couple of helper functions
to silence the uninitialized-variable warnings.
ticket: 8475 (new)
target_version: 1.14-next
target_version: 1.13-next
tags: pullup
{
struct timeval tv;
+ *time_out = 0;
+
if (gettimeofday(&tv, 0))
return errno;
*time_out = (time_ms)tv.tv_sec * 1000 + tv.tv_usec / 1000;
int rlen_ext = 0;
r = OK;
+ *rlen = -1;
if (len < 2) {
fprintf(fp, "missing id and length octets (%d)\n", len);