[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;
|
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) {
|
||||||
|
|
Loading…
Reference in New Issue