Initialize 'now' to avoid compiler warning
authorKen Raeburn <raeburn@mit.edu>
Sun, 25 Mar 2007 23:10:34 +0000 (23:10 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sun, 25 Mar 2007 23:10:34 +0000 (23:10 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19285 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/c_ustime.c

index c752a4ade475e2585fa53cbc01633663b0f10450..fbb6d61281e6c2dbb54cc2ecb69f5367223e0d07 100644 (file)
@@ -81,6 +81,7 @@ krb5_crypto_us_timeofday(krb5_int32 *seconds, krb5_int32 *microseconds)
     struct time_now now;
     krb5_error_code err;
 
+    now.sec = now.usec = 0;
     err = get_time_now(&now);
     if (err)
        return err;