initialization of variable not bypassed by goto.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14934
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-10-22 Ezra Peisach <epeisach@bu.edu>
+
+ * sendto_kdc.c (service_tcp_fd): If DEBUG defined, ensure that
+ initialization of variable not bypassed by goto.
+
2002-10-15 Tom Yu <tlyu@mit.edu>
* hst_realm.c (krb5_try_realm_txt_rr): Apply patch from Nalin
if (ssflags & SSF_EXCEPTION) {
#ifdef DEBUG
int sockerr;
- socklen_t sockerrlen = sizeof(sockerr);
+ socklen_t sockerrlen;
#endif
handle_exception:
#ifdef DEBUG
+ sockerrlen = sizeof(sockerr);
e = getsockopt(conn->fd, SOL_SOCKET, SO_ERROR,
&sockerr, &sockerrlen);
if (e != 0) {