remove/tag unused args for view*.c, gpu*.c & image*.c
This commit is contained in:
@@ -494,7 +494,7 @@ static char *slot_menu()
|
||||
}
|
||||
|
||||
/* TODO, curlay should be removed? */
|
||||
static char *layer_menu(RenderResult *rr, short *curlay)
|
||||
static char *layer_menu(RenderResult *rr, short *UNUSED(curlay))
|
||||
{
|
||||
RenderLayer *rl;
|
||||
int len= 64 + 32*BLI_countlist(&rr->layers);
|
||||
|
||||
@@ -701,7 +701,7 @@ static int open_exec(bContext *C, wmOperator *op)
|
||||
|
||||
errno= 0;
|
||||
|
||||
ima= BKE_add_image_file(str, scene ? scene->r.cfra : 1);
|
||||
ima= BKE_add_image_file(str);
|
||||
|
||||
if(!ima) {
|
||||
if(op->customdata) MEM_freeN(op->customdata);
|
||||
|
||||
@@ -149,7 +149,7 @@ void imagewindow_toggle_render(bContext *C)
|
||||
}
|
||||
|
||||
/* NOTE: called while render, so no malloc allowed! */
|
||||
static void imagewindow_renderinfo_cb(void *handle, RenderStats *rs)
|
||||
static void imagewindow_renderinfo_cb(void *UNUSED(handle), RenderStats *UNUSED(rs))
|
||||
{
|
||||
if(image_area) {
|
||||
// XXX BIF_make_render_text(rs);
|
||||
|
||||
Reference in New Issue
Block a user