From eac31a2eceb6601967484301c5f25b7a138f623b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 14 Jan 2011 21:06:28 +0000 Subject: remove unused vars & avoid some clang warnings. --- source/blender/imbuf/intern/cineon/cineon_dpx.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/imbuf') diff --git a/source/blender/imbuf/intern/cineon/cineon_dpx.c b/source/blender/imbuf/intern/cineon/cineon_dpx.c index 1395b047113..0551922b19a 100644 --- a/source/blender/imbuf/intern/cineon/cineon_dpx.c +++ b/source/blender/imbuf/intern/cineon/cineon_dpx.c @@ -126,7 +126,6 @@ static int imb_save_dpx_cineon(ImBuf *ibuf, const char *filename, int use_cineon LogImageFile* logImage; unsigned short* line, *pixel; int i, j; - int index; float *fline; float *fbuf; int is_alloc= 0; @@ -155,7 +154,6 @@ static int imb_save_dpx_cineon(ImBuf *ibuf, const char *filename, int use_cineon printf("error setting args\n"); } - index = 0; line = MEM_mallocN(sizeof(unsigned short)*depth*width, "line"); /*note that image is flipped when sent to logImageSetRowBytes (see last passed parameter).*/ -- cgit v1.2.3