[trunk] Make sure to always initialize variable

This commit is contained in:
Mathieu Malaterre 2014-03-10 08:40:02 +00:00
parent e02ba05034
commit 666ef53fd2
1 changed files with 1 additions and 0 deletions

View File

@ -416,6 +416,7 @@ int imagetotga(opj_image_t * image, const char *outfile) {
float scale; float scale;
FILE *fdest; FILE *fdest;
size_t res; size_t res;
fails = 1;
fdest = fopen(outfile, "wb"); fdest = fopen(outfile, "wb");
if (!fdest) { if (!fdest) {