[Libvirt-cim] [PATCH 1 of 7] libcmpiutil: Remove warnings

Chip Vincent cvincent at linux.vnet.ibm.com
Fri May 20 14:15:48 UTC 2011


+1. Pushed.

On 05/16/2011 01:47 PM, Eduardo Lima (Etrunko) wrote:
> # HG changeset patch
> # User Eduardo Lima (Etrunko)<eblima at br.ibm.com>
> # Date 1305296021 10800
> # Node ID f92b5e72f469539bfdf449dbdb827075b3257cc5
> # Parent  f86d75144f5a932e886153584d1d7e084f9d1131
> libcmpiutil: Remove warnings
>
> Signed-off-by: Eduardo Lima (Etrunko)<eblima at br.ibm.com>
>
> diff --git a/eo_util_lexer.l b/eo_util_lexer.l
> --- a/eo_util_lexer.l
> +++ b/eo_util_lexer.l
> @@ -17,6 +17,8 @@
>   #ifndef YY_FLEX_LEX_COMPAT
>   int eolineno = 1;
>   #endif
> +
> +void eo_parse_error(char *errmsg);
>   %}
>
>   DIGIT		([0-9])
> diff --git a/eo_util_parser.y b/eo_util_parser.y
> --- a/eo_util_parser.y
> +++ b/eo_util_parser.y
> @@ -118,7 +118,6 @@
>   	|	PROPERTYNAME '=' INTEGER ';'
>   			{
>                           EOTRACE("propertyname = %s\n", $1);
> -                        int rc;
>                           CMPIType t = set_int_prop($3, $1, *_INSTANCE);
>                           EOTRACE("\ttype = %d\n"
>                                   "\tvalue = %lld\n", t, $3);
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim

-- 
Chip Vincent
Open Virtualization
IBM Linux Technology Center
cvincent at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list