svn rev #25151: trunk/src/ lib/krb5/os/ plugins/kdb/db2/libdb2/test/

raeburn@MIT.EDU raeburn at MIT.EDU
Mon Sep 5 05:45:49 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=25151
Commit By: raeburn
Log Message:
Initialize some more variables.


Changed Files:
U   trunk/src/lib/krb5/os/t_an_to_ln.c
U   trunk/src/plugins/kdb/db2/libdb2/test/dbtest.c
Modified: trunk/src/lib/krb5/os/t_an_to_ln.c
===================================================================
--- trunk/src/lib/krb5/os/t_an_to_ln.c	2011-09-05 03:13:07 UTC (rev 25150)
+++ trunk/src/lib/krb5/os/t_an_to_ln.c	2011-09-05 09:45:49 UTC (rev 25151)
@@ -6,7 +6,7 @@
 int
 main(int argc, char **argv)
 {
-    krb5_error_code     kret;
+    krb5_error_code     kret = 0;
     krb5_context        kcontext;
     krb5_principal      principal;
     char                *programname;

Modified: trunk/src/plugins/kdb/db2/libdb2/test/dbtest.c
===================================================================
--- trunk/src/plugins/kdb/db2/libdb2/test/dbtest.c	2011-09-05 03:13:07 UTC (rev 25150)
+++ trunk/src/plugins/kdb/db2/libdb2/test/dbtest.c	2011-09-05 09:45:49 UTC (rev 25151)
@@ -99,7 +99,7 @@
 {
 	extern int optind;
 	extern char *optarg;
-	enum S command, state;
+	enum S command = COMMAND, state;
 	DB *dbp;
 	DBT data, key, keydata;
 	size_t len;




More information about the cvs-krb5 mailing list