[libvirt] Non-zero constant warning on RHEL 6.1 with 0.9.7

Stefan Berger stefanb at linux.vnet.ibm.com
Tue Nov 15 11:53:08 UTC 2011


On 11/15/2011 06:41 AM, Daniel P. Berrange wrote:
> On Tue, Nov 15, 2011 at 06:34:27AM -0500, Stefan Berger wrote:
>
> Is the difference just that we're deferencing a char * for the second arg
> rather than using a constant value ?
>
> Would it suffice to do
>
>    int c = *cur;
>    if (strchr(toescape, c))
I still get the same error with this. It's the two variables that cause 
the trouble here.

    Stefan




More information about the libvir-list mailing list