diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-15 00:06:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-15 00:06:28 +0300 |
commit | eac31a2eceb6601967484301c5f25b7a138f623b (patch) | |
tree | b70d5c1eced98e472d0c204ca3a126424a2ec57d /source/blender/imbuf/intern | |
parent | 94b9d2da547d88d5ca904351c04f5b00a6c0b278 (diff) |
remove unused vars & avoid some clang warnings.
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r-- | source/blender/imbuf/intern/cineon/cineon_dpx.c | 2 |
1 files changed, 0 insertions, 2 deletions
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).*/ |