- fixed remaining unused warnings.

- omit render code from this warning (cmake only), until render branch is merged.
- moved -Wunused-parameter warning to apply to all C code in blender (not just ./source/blender), (cmake only).
This commit is contained in:
2010-10-17 06:38:56 +00:00
parent 28e144db92
commit 30b79ddcc6
46 changed files with 214 additions and 139 deletions

View File

@@ -238,6 +238,8 @@ int imb_savetarga(struct ImBuf * ibuf, char *name, int flags)
char buf[20];
FILE *fildes;
short ok = 0;
(void)flags; /* unused */
if (ibuf == 0) return (0);
if (ibuf->rect == 0) return (0);