metadata: Remove ns_prefix decl (it is conditionally used)
This commit is contained in:
@ -517,7 +517,6 @@ parse_set_property (XMPParseContext *context,
|
|||||||
XMPModel *xmp_model = user_data;
|
XMPModel *xmp_model = user_data;
|
||||||
XMPSchema *schema = ns_user_data;
|
XMPSchema *schema = ns_user_data;
|
||||||
int i;
|
int i;
|
||||||
const gchar *ns_prefix;
|
|
||||||
XMPProperty *property;
|
XMPProperty *property;
|
||||||
GtkTreeIter iter;
|
GtkTreeIter iter;
|
||||||
GtkTreeIter child_iter;
|
GtkTreeIter child_iter;
|
||||||
@ -534,7 +533,6 @@ parse_set_property (XMPParseContext *context,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ns_prefix = schema->prefix;
|
|
||||||
property = NULL;
|
property = NULL;
|
||||||
|
|
||||||
if (schema->properties != NULL)
|
if (schema->properties != NULL)
|
||||||
@ -553,7 +551,7 @@ parse_set_property (XMPParseContext *context,
|
|||||||
{
|
{
|
||||||
case XMP_PTYPE_TEXT:
|
case XMP_PTYPE_TEXT:
|
||||||
#ifdef DEBUG_XMP_MODEL
|
#ifdef DEBUG_XMP_MODEL
|
||||||
g_print ("\t%s:%s = \"%s\"\n", ns_prefix, name, value[0]);
|
g_print ("\t%s:%s = \"%s\"\n", schema->prefix, name, value[0]);
|
||||||
#endif
|
#endif
|
||||||
if (property != NULL)
|
if (property != NULL)
|
||||||
/* FIXME */;
|
/* FIXME */;
|
||||||
|
Reference in New Issue
Block a user