diff --git a/wrap/io_trimesh/export_vmi.h b/wrap/io_trimesh/export_vmi.h index c192aaf9..ce6e2fb3 100644 --- a/wrap/io_trimesh/export_vmi.h +++ b/wrap/io_trimesh/export_vmi.h @@ -208,7 +208,7 @@ namespace io { - static void Save(const SaveMeshType &m,char * filename){ + static void Save(const SaveMeshType &m,const char * filename){ unsigned int i; unsigned int vertSize,faceSize; F() = fopen(filename,"wb"); diff --git a/wrap/io_trimesh/import_vmi.h b/wrap/io_trimesh/import_vmi.h index 0f033f23..845682b8 100644 --- a/wrap/io_trimesh/import_vmi.h +++ b/wrap/io_trimesh/import_vmi.h @@ -194,7 +194,7 @@ namespace io { */ template struct K { template - static void AddAttrib(MeshType &m, const char * name, unsigned int s, void * data){ + static void AddAttrib(MeshType &/*m*/, const char * /*name*/, unsigned int /*s*/, void * /*data*/){ // if yohu got this your attribute is larger than 1048576. Honestly... assert(0); }