Re: [PATCH] res could return an undefined value if there was no error in totempg_groups_initialize

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

 



ACK

On Fri, Oct 21, 2011 at 02:46:12AM -0700, Steven Dake wrote:
> Signed-off-by: Steven Dake <sdake@xxxxxxxxxx>
> ---
>  exec/totempg.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/exec/totempg.c b/exec/totempg.c
> index a3eee15..9e88104 100644
> --- a/exec/totempg.c
> +++ b/exec/totempg.c
> @@ -1103,7 +1103,7 @@ int totempg_groups_join (
>  {
>  	struct totempg_group_instance *instance = (struct totempg_group_instance *)totempg_groups_instance;
>  	struct totempg_group *new_groups;
> -	unsigned int res;
> +	unsigned int res = 0;
>  
>  	if (totempg_threaded_mode == 1) {
>  		pthread_mutex_lock (&totempg_mutex);
> -- 
> 1.7.6.4
> 
> _______________________________________________
> discuss mailing list
> discuss@xxxxxxxxxxxx
> http://lists.corosync.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux