From 3850a66151186f6b8b527b13d53c71b8923f9ec6 Mon Sep 17 00:00:00 2001 From: cignoni Date: Fri, 30 Oct 2009 10:55:16 +0000 Subject: [PATCH] removed some useless warning --- wrap/io_trimesh/export_vmi.h | 2 +- wrap/io_trimesh/import_vmi.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }