diff options
Diffstat (limited to 'source/blender/editors/space_image/image_undo.cc')
-rw-r--r-- | source/blender/editors/space_image/image_undo.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/editors/space_image/image_undo.cc b/source/blender/editors/space_image/image_undo.cc index 8f144264824..1589195d2af 100644 --- a/source/blender/editors/space_image/image_undo.cc +++ b/source/blender/editors/space_image/image_undo.cc @@ -637,7 +637,7 @@ static void uhandle_free_list(ListBase *undo_handles) /** #UndoImageHandle utilities */ static UndoImageBuf *uhandle_lookup_ubuf(UndoImageHandle *uh, - const Image *UNUSED(image), + const Image * /*image*/, const char *ibuf_name) { LISTBASE_FOREACH (UndoImageBuf *, ubuf, &uh->buffers) { @@ -775,7 +775,7 @@ static bool image_undosys_poll(bContext *C) return false; } -static void image_undosys_step_encode_init(struct bContext *UNUSED(C), UndoStep *us_p) +static void image_undosys_step_encode_init(struct bContext * /*C*/, UndoStep *us_p) { ImageUndoStep *us = reinterpret_cast<ImageUndoStep *>(us_p); /* dummy, memory is cleared anyway. */ @@ -784,9 +784,7 @@ static void image_undosys_step_encode_init(struct bContext *UNUSED(C), UndoStep us->paint_tile_map = MEM_new<PaintTileMap>(__func__); } -static bool image_undosys_step_encode(struct bContext *C, - struct Main *UNUSED(bmain), - UndoStep *us_p) +static bool image_undosys_step_encode(struct bContext *C, struct Main * /*bmain*/, UndoStep *us_p) { /* Encoding is done along the way by adding tiles * to the current 'ImageUndoStep' added by encode_init. |