remove/tag unused args for view*.c, gpu*.c & image*.c

This commit is contained in:
2010-10-15 12:29:02 +00:00
parent 2755129fb6
commit db09ca106d
26 changed files with 128 additions and 131 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);