removed harmless warnings
This commit is contained in:
parent
bf69d1c24a
commit
80f825a428
|
@ -986,13 +986,12 @@ public:
|
|||
|
||||
template <class ATTR_TYPE>
|
||||
static
|
||||
void FixPaddedPerMeshAttribute ( MeshType & m,PointerToAttribute & pa){
|
||||
void FixPaddedPerMeshAttribute ( MeshType & /*m*/,PointerToAttribute & pa){
|
||||
|
||||
// create the container of the right type
|
||||
Attribute<ATTR_TYPE> * _handle = new Attribute<ATTR_TYPE>();
|
||||
|
||||
// copy the padded container in the new one
|
||||
ATTR_TYPE * dest = _handle->attribute;
|
||||
char * ptr = (char*)( ((Attribute<ATTR_TYPE> *)pa._handle)->DataBegin());
|
||||
memcpy((void*)_handle->attribute ,(void*) &(ptr[0]) ,sizeof(ATTR_TYPE));
|
||||
|
||||
|
|
|
@ -562,6 +562,7 @@ namespace vcg
|
|||
}
|
||||
break;
|
||||
}
|
||||
case LeaveUnsorted: // nothing to do.
|
||||
}
|
||||
if (k != i)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue