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

Eduardo Lima (Etrunko) eblima at linux.vnet.ibm.com
Mon May 16 17:47:48 UTC 2011


# 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); 




More information about the Libvirt-cim mailing list