diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-29 21:08:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-29 21:08:11 +0400 |
commit | 2a331067cc52693aa903a0487be29c93298c4b8b (patch) | |
tree | 814fba88bc5af1de58ea6ef12958e38daa1b9fb4 /source/blender/include | |
parent | 7ebeceb399002076106333202ec59483fc3ed4ba (diff) |
resolve some compiler warnings with intel c/c++ compiler
* subsurf code had a lot of unused variables, removed these where they are obviously not needed. commented if they could be useful later.
* some variables declorations hide existing variables (many of these left), but fixed some that could cause confusion.
* removed unused vars
* obscure python memory leak with colorband.
* make_sample_tables had a loop running wasnt used.
* if 0'd functions in arithb.c that are not used yet.
* made many functions static
Diffstat (limited to 'source/blender/include')
-rw-r--r-- | source/blender/include/BIF_editmesh.h | 4 | ||||
-rw-r--r-- | source/blender/include/BIF_editparticle.h | 2 | ||||
-rw-r--r-- | source/blender/include/BIF_retopo.h | 18 |
3 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/include/BIF_editmesh.h b/source/blender/include/BIF_editmesh.h index 9354a577ac1..30e9e16355e 100644 --- a/source/blender/include/BIF_editmesh.h +++ b/source/blender/include/BIF_editmesh.h @@ -73,7 +73,7 @@ extern void add_primitiveMesh(int type); extern void adduplicate_mesh(void); extern void add_click_mesh(void); extern void addedgeface_mesh(void); -void addfaces_from_edgenet(); +void addfaces_from_edgenet(void); /* ******************* editmesh_lib.c */ @@ -221,7 +221,7 @@ extern void beauty_fill(void); extern void join_triangles(void); extern void edge_flip(void); extern void fill_mesh(void); -extern void bevel_menu(); +extern void bevel_menu(void); void mesh_set_face_flags(short mode); extern void mesh_set_smooth_faces(short event); extern void mesh_rotate_uvs(void); diff --git a/source/blender/include/BIF_editparticle.h b/source/blender/include/BIF_editparticle.h index 41d86565b13..aecaee31d53 100644 --- a/source/blender/include/BIF_editparticle.h +++ b/source/blender/include/BIF_editparticle.h @@ -54,7 +54,7 @@ short PE_get_current_num(struct Object *ob); int PE_minmax(float *min, float *max); void PE_get_colors(char sel[4], char nosel[4]); struct ParticleEditSettings *PE_settings(void); -struct RadialControl **PE_radialcontrol(); +struct RadialControl **PE_radialcontrol(void); /* update calls */ void PE_hide_keys_time(struct ParticleSystem *psys, float cfra); diff --git a/source/blender/include/BIF_retopo.h b/source/blender/include/BIF_retopo.h index 5d39923a398..cc2fda56b07 100644 --- a/source/blender/include/BIF_retopo.h +++ b/source/blender/include/BIF_retopo.h @@ -79,27 +79,27 @@ typedef struct RetopoPaintData { struct View3D *paint_v3d; } RetopoPaintData; -RetopoPaintData *get_retopo_paint_data(); +RetopoPaintData *get_retopo_paint_data(void); -char retopo_mesh_check(); -char retopo_curve_check(); +char retopo_mesh_check(void); +char retopo_curve_check(void); -void retopo_end_okee(); +void retopo_end_okee(void); void retopo_free_paint_data(RetopoPaintData *rpd); -void retopo_free_paint(); +void retopo_free_paint(void); -char retopo_mesh_paint_check(); +char retopo_mesh_paint_check(void); void retopo_paint_view_update(struct View3D *v3d); -void retopo_force_update(); +void retopo_force_update(void); void retopo_paint_toggle(void*,void*); char retopo_paint(const unsigned short event); -void retopo_draw_paint_lines(); +void retopo_draw_paint_lines(void); RetopoPaintData *retopo_paint_data_copy(RetopoPaintData *rpd); void retopo_toggle(void*,void*); void retopo_do_vert(struct View3D *v3d, float *v); -void retopo_do_all(); +void retopo_do_all(void); void retopo_do_all_cb(void *, void *); void retopo_queue_updates(struct View3D *v3d); |