- 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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user