Fix uninitialized variable warning in trval.c
authorGreg Hudson <ghudson@mit.edu>
Tue, 7 Feb 2012 15:45:59 +0000 (15:45 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 7 Feb 2012 15:45:59 +0000 (15:45 +0000)
commit075e5e49c59fbc9611d8ab96524cfde4209713f5
treef1767be7df3a6c09412f431dba2984a245e263ac
parent08d7bd5e79f8b895405ba375947c8b825976c837
Fix uninitialized variable warning in trval.c

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.

ticket: 7088
target_version: 1.10.1
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25679 dc483132-0cff-0310-8789-dd5450dbe970
src/tests/asn.1/trval.c