On 06/01/2011 09:14 AM, Jan Friesse wrote:
> Signed-off-by: Jan Friesse <[email protected]>
> ---
>  exec/totemconfig.c |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/exec/totemconfig.c b/exec/totemconfig.c
> index 0b9732b..c18c272 100644
> --- a/exec/totemconfig.c
> +++ b/exec/totemconfig.c
> @@ -217,7 +217,7 @@ static void totem_volatile_config_read (
>       objdb_get_int (objdb,object_totem_handle, "max_network_delay", 
> &totem_config->max_network_delay);
>  
>       objdb_get_int (objdb,object_totem_handle, "window_size", 
> &totem_config->window_size);
> -     objdb_get_string (objdb, object_totem_handle, "vsftype", 
> &totem_config->vsf_type);
> +     (void)objdb_get_string (objdb, object_totem_handle, "vsftype", 
> &totem_config->vsf_type);
>  
>       objdb_get_int (objdb,object_totem_handle, "max_messages", 
> &totem_config->max_messages);
>  
> @@ -423,7 +423,8 @@ printf ("couldn't find totem handle\n");
>       add_totem_config_notification(objdb, totem_config, object_totem_handle);
>  
>       totem_config->transport_number = TOTEM_TRANSPORT_UDP;
> -     objdb_get_string (objdb, object_totem_handle, "transport", 
> &transport_type);
> +     (void)objdb_get_string (objdb, object_totem_handle, "transport", 
> &transport_type);
> +
>       if (transport_type) {
>               if (strcmp (transport_type, "udpu") == 0) {
>                       totem_config->transport_number = TOTEM_TRANSPORT_UDPU;

Reviewed-by: Steven Dake <[email protected]>
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to