Fixed g++ 4.6.1 (Debian) compiler warnings.
This commit is contained in:
parent
f13d076a7a
commit
f89d2821fe
@ -574,13 +574,12 @@ XMPIterator::XMPIterator ( const XMPMeta & xmpObj,
|
||||
//
|
||||
// Constructor for iterations over global tables such as registered namespaces or aliases.
|
||||
|
||||
XMPIterator::XMPIterator ( XMP_StringPtr schemaNS,
|
||||
XMP_StringPtr propName,
|
||||
XMP_OptionBits options ) : clientRefs(0), info(IterInfo(options,0))
|
||||
XMPIterator::XMPIterator ( XMP_StringPtr /*schemaNS*/,
|
||||
XMP_StringPtr /*propName*/,
|
||||
XMP_OptionBits options ) : clientRefs(0), info(IterInfo(options,0))
|
||||
{
|
||||
|
||||
XMP_Throw ( "Unimplemented XMPIterator constructor for global tables", kXMPErr_Unimplemented );
|
||||
void * p; p = &schemaNS; p = &propName; p = &options; // Avoid unused param warnings.
|
||||
|
||||
} // XMPIterator for global tables
|
||||
|
||||
|
||||
@ -1292,11 +1292,11 @@ XMPMeta::SerializeToBuffer ( XMP_StringPtr * rdfString,
|
||||
} else {
|
||||
|
||||
std::string padStr ( " " ); padStr[0] = padStr[1] = padStr[2] = 0; // Assume big endian.
|
||||
UTF8_to_UTF32_Proc Converter = UTF8_to_UTF32BE;
|
||||
// UTF8_to_UTF32_Proc Converter = UTF8_to_UTF32BE;
|
||||
|
||||
if ( charEncoding & _XMP_LittleEndian_Bit ) {
|
||||
padStr[0] = ' '; padStr[1] = padStr[2] = padStr[3] = 0;
|
||||
Converter = UTF8_to_UTF32LE;
|
||||
// Converter = UTF8_to_UTF32LE;
|
||||
}
|
||||
|
||||
utf8Str.swap ( *sOutputStr );
|
||||
|
||||
@ -1019,11 +1019,10 @@ XMPMeta::GetGlobalOptions()
|
||||
// ----------------
|
||||
|
||||
/* class-static */ void
|
||||
XMPMeta::SetGlobalOptions ( XMP_OptionBits options )
|
||||
XMPMeta::SetGlobalOptions ( XMP_OptionBits /*options*/ )
|
||||
{
|
||||
|
||||
XMP_Throw ( "Unimplemented method XMPMeta::SetGlobalOptions", kXMPErr_Unimplemented );
|
||||
void * p; p = &options; // Avoid unused param warnings.
|
||||
|
||||
} // SetGlobalOptions
|
||||
|
||||
@ -1328,13 +1327,12 @@ XMPMeta::ResolveAlias ( XMP_StringPtr aliasNS,
|
||||
// -----------
|
||||
|
||||
/* class-static */ void
|
||||
XMPMeta::DeleteAlias ( XMP_StringPtr aliasNS,
|
||||
XMP_StringPtr aliasProp )
|
||||
XMPMeta::DeleteAlias ( XMP_StringPtr /*aliasNS*/,
|
||||
XMP_StringPtr /*aliasProp*/ )
|
||||
{
|
||||
|
||||
XMP_Assert ( (aliasNS != 0) && (aliasProp != 0) ); // Enforced by wrapper.
|
||||
// Todo: XMP_Assert ( (aliasNS != 0) && (aliasProp != 0) ); / / Enforced by wrapper.
|
||||
XMP_Throw ( "Unimplemented method XMPMeta::DeleteAlias", kXMPErr_Unimplemented ); // *** #error "write me"
|
||||
void * p; p = &aliasNS; p = &aliasProp; // Avoid unused param warnings.
|
||||
|
||||
} // DeleteAlias
|
||||
|
||||
@ -1567,11 +1565,10 @@ XMPMeta::GetObjectOptions() const
|
||||
// ----------------
|
||||
|
||||
void
|
||||
XMPMeta::SetObjectOptions ( XMP_OptionBits options )
|
||||
XMPMeta::SetObjectOptions ( XMP_OptionBits /*options*/ )
|
||||
{
|
||||
|
||||
XMP_Throw ( "Unimplemented method XMPMeta::SetObjectOptions", kXMPErr_Unimplemented );
|
||||
void * p; p = &options; // Avoid unused param warnings.
|
||||
|
||||
} // SetObjectOptions
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user