Author: rjung Date: Sat Oct 31 10:05:17 2015 New Revision: 1711584 URL: http://svn.apache.org/viewvc?rev=1711584&view=rev Log: Add a note about a compiler warning concerning use of uninitialized variables. Don't know how to fix right now.
Modified: tomcat/native/trunk/native/src/sslutils.c Modified: tomcat/native/trunk/native/src/sslutils.c URL: http://svn.apache.org/viewvc/tomcat/native/trunk/native/src/sslutils.c?rev=1711584&r1=1711583&r2=1711584&view=diff ============================================================================== --- tomcat/native/trunk/native/src/sslutils.c (original) +++ tomcat/native/trunk/native/src/sslutils.c Sat Oct 31 10:05:17 2015 @@ -624,6 +624,7 @@ int select_next_proto(SSL *ssl, const un // There were no match but we just select our last protocol and hope the other peer support it. // // decrement the pointer again so the pointer points to the start of the protocol. + /* XXX compiler warning: 'proto_len' and 'p' may be used uninitialized in this function */ p -= proto_len; *out = p; *outlen = proto_len; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org