[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libssh 0.4.2


On Friday 19 March 2010 15:22:10 you wrote:
> Hello!

Hi,
 
> On 16.03.2010 18:55 Andreas Schneider wrote:
> > we have released libssh 0.4.2 yesterday.
> > See http://www.libssh.org/2010/03/15/libssh-0-4-2/
> 
>  I got a build warning:
> 
> [ 11%] Building C object libssh/CMakeFiles/ssh_shared.dir/buffer.c.o
> /home/incubus/Projects/bsd/ports/security/libssh/work/libssh-0.4.2/libssh/a
> uth.c: In function 'ssh_userauth_autopubkey':
> /home/incubus/Projects/bsd/ports/security/libssh/work/libssh-0.4.2/libssh/a
> uth.c:784: warning: 'privkey' may be used uninitialized in this function
> 
>  Is it ok? Should I change "ssh_private_key privkey" to "ssh_private_key
> privkey = NULL"?
> 

I don't get this warning with a newer version of gcc (4.4.1). I don't see that 
it could be used uninitialized.


	-- andreas


Follow-Ups:
Re: libssh 0.4.2Alexander Logvinov <avl@xxxxxxxxxxxx>
References:
libssh 0.4.2Andreas Schneider <mail@xxxxxxxxxxxx>
Re: libssh 0.4.2Alexander Logvinov <avl@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org