[trunk] Make sure to always initialize variable
This commit is contained in:
parent
e02ba05034
commit
666ef53fd2
|
@ -416,6 +416,7 @@ int imagetotga(opj_image_t * image, const char *outfile) {
|
|||
float scale;
|
||||
FILE *fdest;
|
||||
size_t res;
|
||||
fails = 1;
|
||||
|
||||
fdest = fopen(outfile, "wb");
|
||||
if (!fdest) {
|
||||
|
|
Loading…
Reference in New Issue