Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

gcc -O3 is agressive enough to detect that do_cons() doesn't always
set the value of rlen2, so trval2() gets a maybe-uninitialized
warning. Squash it by initializing rlen2.

https://github.com/krb5/krb5/commit/075e5e49c59fbc9611d8ab96524cfde4209713f5
Commit By: ghudson
Revision: 25679
Changed Files:
U trunk/src/tests/asn.1/trval.c
From: tlyu@mit.edu
Subject: SVN Commit

Pull up r25679 from trunk

------------------------------------------------------------------------
r25679 | ghudson | 2012-02-07 10:45:59 -0500 (Tue, 07 Feb 2012) | 9 lines

ticket: 7088
subject: Fix uninitialized variable warning in trval.c
target_version: 1.10.1
tags: pullup

gcc -O3 is agressive enough to detect that do_cons() doesn't always
set the value of rlen2, so trval2() gets a maybe-uninitialized
warning. Squash it by initializing rlen2.

https://github.com/krb5/krb5/commit/734df283f8d1d7942bc2fd11615616e3c4af9618
Commit By: tlyu
Revision: 25683
Changed Files:
U branches/krb5-1-10/src/tests/asn.1/trval.c