diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-10 08:40:02 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-10 08:40:02 +0000 |
| commit | 666ef53fd24e4816ae8f63e19943a0257f3e1869 (patch) | |
| tree | cfccba01a9f5320cf849706f70bbc4f2eac6b3f8 /src | |
| parent | e02ba05034de2d4bfb68419b0e4819441f9166e7 (diff) | |
[trunk] Make sure to always initialize variable
Diffstat (limited to 'src')
| -rw-r--r-- | src/bin/jp2/convert.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/jp2/convert.c b/src/bin/jp2/convert.c index 72babbaa..c170db71 100644 --- a/src/bin/jp2/convert.c +++ b/src/bin/jp2/convert.c @@ -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) { |
