[sheepdog] [PATCH] sockfd cache: fix a uninit warning

MORITA Kazutaka morita.kazutaka at gmail.com
Fri Aug 9 10:25:28 CEST 2013


At Fri,  9 Aug 2013 13:14:34 +0800,
Liu Yuan wrote:
> 
> sockfd_cache.c:379:16: warning: ‘idx’ may be used uninitialized in this function [-Wuninitialized]
> ...
> 
> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> ---
>  lib/sockfd_cache.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Kazutaka



More information about the sheepdog mailing list