move var decl before code
authorKen Raeburn <raeburn@mit.edu>
Thu, 1 Jun 2006 22:48:20 +0000 (22:48 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 1 Jun 2006 22:48:20 +0000 (22:48 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18073 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/do_tgs_req.c

index 4f02ad60b435b2c9161add818089cb61d60a1687..fd868ff36796c3e968f862acb218041474239c6d 100644 (file)
@@ -646,9 +646,9 @@ tgt_again:
     
 cleanup:
     if (status) {
+       char * emsg = NULL;
        if (!errcode)
            rep_etypes2str(rep_etypestr, sizeof(rep_etypestr), &reply);
-       char * emsg = NULL;
        if(errcode) 
          emsg = krb5_get_error_message (kdc_context, errcode);
         krb5_klog_syslog(LOG_INFO,