Title: [7922] trunk/crypto/testmgr.c: crypto/testmgr: fix uninitialized warning from gcc
Revision
7922
Author
vapier
Date
2009-12-03 17:59:44 -0500 (Thu, 03 Dec 2009)

Log Message

crypto/testmgr: fix uninitialized warning from gcc

Modified Paths


Diff

Modified: trunk/crypto/testmgr.c (7921 => 7922)


--- trunk/crypto/testmgr.c	2009-12-03 22:58:11 UTC (rev 7921)
+++ trunk/crypto/testmgr.c	2009-12-03 22:59:44 UTC (rev 7922)
@@ -1214,6 +1214,7 @@
 		return -ENOMEM;
 	}
 
+	err = 0; /* sanity in case tcount is 0 */
 	for (i = 0; i < tcount; i++) {
 		memset(result, 0, 32);
 
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to