Cleanup: warnings
authorCampbell Barton <ideasman42@gmail.com>
Sun, 8 May 2016 15:16:58 +0000 (01:16 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 8 May 2016 15:16:58 +0000 (01:16 +1000)
source/blender/blenkernel/intern/seqeffects.c
source/blender/editors/curve/editcurve_paint.c
source/blender/editors/physics/particle_edit.c
source/blender/editors/sculpt_paint/sculpt.c
source/blender/editors/space_action/action_buttons.c
source/blender/editors/space_file/filelist.c
source/blender/editors/space_file/filesel.c
source/blender/makesrna/intern/rna_gpencil.c

index 4086fc2b0f3da598c1639e6d92e74ba9c3353d71..3de4a426973ba37d953e3bb16a7f94baabd841ab 100644 (file)
@@ -3060,7 +3060,7 @@ static ImBuf *do_gaussian_blur_effect(const SeqRenderData *context,
 
        ibuf1 = out;
        init_data.ibuf = ibuf1;
-       out = prepare_effect_imbufs(context, ibuf1, NULL, NULL);;
+       out = prepare_effect_imbufs(context, ibuf1, NULL, NULL);
        init_data.out = out;
 
        IMB_processor_apply_threaded(out->y,
index 9986dd1d6a0e9f5c9991bdeff54dd082eee74509..bb7cc61f580f1439b7c929f5bf7812ad35648cf1 100644 (file)
@@ -1119,7 +1119,7 @@ static int curve_draw_invoke(bContext *C, wmOperator *op, const wmEvent *event)
 
                        /* use view plane (when set or as fallback when surface can't be found) */
                        if (cdd->project.use_depth == false) {
-                               plane_co = ED_view3d_cursor3d_get(cdd->vc.scene, v3d);;
+                               plane_co = ED_view3d_cursor3d_get(cdd->vc.scene, v3d);
                                plane_no = rv3d->viewinv[2];
                                cdd->project.use_plane = true;
                        }
index b8ff2721717d2204a0689adc5f769ae03cad9e7e..2ae1254f9e675ec05974b059319f26d447314769 100644 (file)
@@ -4817,7 +4817,7 @@ static float calculate_point_length(PTCacheEditPoint *point)
        KEY_K;
        LOOP_KEYS {
                if (k > 0) {
-                       length += len_v3v3((key - 1)->co, key->co);;
+                       length += len_v3v3((key - 1)->co, key->co);
                }
        }
        return length;
index 7ebc050978a53d16488a1775e7697a50380d2c45..c173156de3a4b96e84d7d30a61a607dd0cdab821 100644 (file)
@@ -2997,7 +2997,7 @@ static void do_clay_strips_brush(Sculpt *sd, Object *ob, PBVHNode **nodes, int t
        const bool flip = (ss->cache->bstrength < 0);
        const float radius    = flip ? -ss->cache->radius : ss->cache->radius;
        const float offset    = get_offset(sd, ss);
-       const float displace  = radius * (0.25f + offset);;
+       const float displace  = radius * (0.25f + offset);
 
        float area_no_sp[3];  /* the sculpt-plane normal (whatever its set to) */
        float area_no[3];     /* geometry normal */
index a3112f1ad15dde1bd06a07a89d83c5e344856c4d..063a477d2b6442dad223e75a3fe470f80f71cbb0 100644 (file)
@@ -74,7 +74,7 @@
 
 /* ******************* general ******************************** */
 
-void action_buttons_register(ARegionType *art)
+void action_buttons_register(ARegionType *UNUSED(art))
 {
 #if 0
        PanelType *pt;
index 207879c28094a3dc8976607ecd21045c422d62fd..8e1f781827a90f099a825adacfed4af2142d25dc 100644 (file)
@@ -1426,7 +1426,7 @@ int filelist_files_ensure(FileList *filelist)
                filelist_filter(filelist);
        }
 
-       return filelist->filelist.nbr_entries_filtered;;
+       return filelist->filelist.nbr_entries_filtered;
 }
 
 static FileDirEntry *filelist_file_create_entry(FileList *filelist, const int index)
index ff5f1d30e444293f29bbe327d4d7e799748e66b8..bf90a4ea170bdc301f1ebbb673142ed2aeabb60d 100644 (file)
@@ -477,7 +477,7 @@ static void column_widths(FileSelectParams *params, struct FileLayout *layout)
                layout->column_widths[i] = 0;
        }
 
-       layout->column_widths[COLUMN_NAME] = ((float)params->thumbnail_size / 8.0f) * UI_UNIT_X;;
+       layout->column_widths[COLUMN_NAME] = ((float)params->thumbnail_size / 8.0f) * UI_UNIT_X;
        /* Biggest possible reasonable values... */
        layout->column_widths[COLUMN_DATE] = file_string_width(small_size ? "23/08/89" : "23-Dec-89");
        layout->column_widths[COLUMN_TIME] = file_string_width("23:59");
index 691eae18d4d174c765af77307d49aefa66b959f5..2c4e47a19fcb8d6845eff5eb59bbd6b9c817b2d2 100644 (file)
@@ -816,7 +816,7 @@ static void rna_def_gpencil_layer(BlenderRNA *brna)
        RNA_def_property_range(prop, 1, 3);
        RNA_def_property_ui_text(prop, "Iterations",
                                 "Number of times to smooth newly created strokes."
-                                "Smoothing strength is halved on each successive round of smoothing applied.");
+                                "Smoothing strength is halved on each successive round of smoothing applied");
        RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
 
        /* Subdivision level for new strokes */