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

Mike Frysinger vapier at gentoo.org
Wed Mar 14 03:17:48 UTC 2007


On Tuesday 06 March 2007, Al Stone wrote:
> 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).

i think this is a gcc bug ... ive looked at that bit of code before and have 
yet to determine the code path where f would be used uninitialized ...

we make sure count is non-zero at the top of do_des, which means the while 
(count--) is executed once ... then the while (round--) loop is obviously 
executed which means f gets set to "(r48l ^ r48r) & salt" before it is ever 
used

> 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.

getting static ia64 working was enough for me :)

if you want to get hacking on ldso, that'd be awesome ... there is 
docs/PORTING if you feel something needs to be added ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20070313/5ead24b0/attachment-0002.pgp 


More information about the uClibc mailing list