[PATCH] Move this declaration up where it should be

# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1210089125 25200 # Node ID 8e6c9d2deb4acb4bb6039c449a7de54b2096ddba # Parent 2ec4259b46e7b0eeb275edbd8eb2d6051318b417 Move this declaration up where it should be Signed-off-by: Dan Smith <danms@us.ibm.com> diff -r 2ec4259b46e7 -r 8e6c9d2deb4a src/Virt_RASD.c --- a/src/Virt_RASD.c Mon May 05 09:44:13 2008 -0700 +++ b/src/Virt_RASD.c Tue May 06 08:52:05 2008 -0700 @@ -105,6 +105,7 @@ static CMPIInstance *rasd_from_vdev(cons uint16_t type; char *base; char *id; + const char *keys[] = {"InstanceID", NULL}; if (dev->type == CIM_RES_TYPE_DISK) { type = CIM_RES_TYPE_DISK; @@ -129,7 +130,6 @@ static CMPIInstance *rasd_from_vdev(cons if (inst == NULL) return inst; - const char *keys[] = {"InstanceID", NULL}; s = CMSetPropertyFilter(inst, properties, keys); if (s.rc != CMPI_RC_OK)

Dan Smith wrote:
# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1210089125 25200 # Node ID 8e6c9d2deb4acb4bb6039c449a7de54b2096ddba # Parent 2ec4259b46e7b0eeb275edbd8eb2d6051318b417 Move this declaration up where it should be
Oops - I think that was originally my mistake. +1 -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com
participants (2)
-
Dan Smith
-
Kaitlin Rupert