[Libvirt-cim] [PATCH] Fix misplaced const

Jay Gagnon grendel at linux.vnet.ibm.com
Wed Feb 13 18:34:45 UTC 2008


Dan Smith wrote:
> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1202923672 28800
> # Node ID 460476bb31d6d3d2e400396e3797cfc6697744fd
> # Parent  be18b4c2084a6b2b1f1c3a1cdae25a98034d7d54
> Fix misplaced const
>
> This causes a warning on some versions of GCC because we're passing in
> the inst to be modified, which means it can't be const.  Not sure why
> more GCC versions aren't catching this, but it needs to be fixed.
>
>   
It appears I use my const keywords with about as much care as I use 
salt.  Thanks for finding another one. +1

-- 

-Jay




More information about the Libvirt-cim mailing list