diff options
author | Kent Mein <mein@cs.umn.edu> | 2006-03-29 20:47:56 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2006-03-29 20:47:56 +0400 |
commit | 42930c643cb83e7ddaaabc73092796bfab80d727 (patch) | |
tree | 886cccde1aa99d1a4c3c6ce24ddfc5833de9b414 | |
parent | f350b182915a5beceb265ff4cf27d6f5582d9c88 (diff) |
Added BOP_Mesh constructor to get rid of this:
BOP_Mesh.h:45: warning: ‘class BOP_Mesh’ only defines private constructors and h
as no friends
drawimasel.c initalized a variable so it didn't give warnings about it.
(wasn't really needed but if the code changes could be potential issue)
Kent
-rw-r--r-- | intern/boolop/intern/BOP_Mesh.cpp | 2 | ||||
-rw-r--r-- | intern/boolop/intern/BOP_Mesh.h | 1 | ||||
-rw-r--r-- | source/blender/src/drawimasel.c | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/intern/boolop/intern/BOP_Mesh.cpp b/intern/boolop/intern/BOP_Mesh.cpp index 24d5b3fb6a9..595ccae6b93 100644 --- a/intern/boolop/intern/BOP_Mesh.cpp +++ b/intern/boolop/intern/BOP_Mesh.cpp @@ -34,6 +34,8 @@ #include <fstream> +BOP_Mesh::BOP_Mesh() {} + /** * Destroys a mesh. */ diff --git a/intern/boolop/intern/BOP_Mesh.h b/intern/boolop/intern/BOP_Mesh.h index 6751df7c4e7..644f9ab691c 100644 --- a/intern/boolop/intern/BOP_Mesh.h +++ b/intern/boolop/intern/BOP_Mesh.h @@ -57,6 +57,7 @@ private: bool testFace(BOP_Face *face); public: + BOP_Mesh (); ~BOP_Mesh(); BOP_Index addVertex(MT_Point3 point); diff --git a/source/blender/src/drawimasel.c b/source/blender/src/drawimasel.c index 83649aa839f..45757170f78 100644 --- a/source/blender/src/drawimasel.c +++ b/source/blender/src/drawimasel.c @@ -705,6 +705,7 @@ void select_ima_files(SpaceImaSel *simasel) getmouseco_areawin(mval); oval[0] = mval[0] + 1; + oval[1] = 0; /* Just give it a value to stop warnings */ while(get_mbut()&R_MOUSE) { getmouseco_areawin(mval); |