[PATCH] compiler warning cleanup in libcrypt/des.c

Al Stone ahs3 at fc.hp.com
Tue Mar 6 20:13:02 UTC 2007


Really.  You _can_ tell me to stop at any time.

Clean up another warning about a possibly uninitialized variable
in libcrypt/des.c.  Found while trying to compile default ia64
config on Debian (GCC 4.1.2, btw).

Believe it or not, the actual goal is to get ldso working for
ia64; this just seems a good way to get familiar with uClibc
internally.

Signed-off-by: Al Stone <ahs3 at fc.hp.com>

-- 
Ciao,
al
----------------------------------------------------------------------
Al Stone                                      Alter Ego:
Open Source and Linux R&D                     Debian Developer
Hewlett-Packard Company                       http://www.debian.org
E-mail: ahs3 at fc.hp.com                        ahs3 at debian.org
----------------------------------------------------------------------

diff --exclude .svn -Naur svn/libcrypt/des.c uClibc-ia64-current/libcrypt/des.c
--- svn/libcrypt/des.c	2007-02-07 17:39:15.000000000 -0700
+++ uClibc-ia64-current/libcrypt/des.c	2007-03-06 12:48:58.000000000 -0700
@@ -498,6 +498,7 @@
 	  | ip_maskr[6][(r_in >> 8) & 0xff]
 	  | ip_maskr[7][r_in & 0xff];
 
+	f = 0;
 	while (count--) {
 		/*
 		 * Do each round.





More information about the uClibc mailing list