Skip to content

Commit

Permalink
Update tcd.c (#790)
Browse files Browse the repository at this point in the history
cppcheck unitialized variable
  • Loading branch information
maddin200 authored and mayeut committed Jun 21, 2016
1 parent 898ca6f commit cb72c08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/openjp3d/tcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Copyright (c) 2003-2005, Francois Devaux and Antonin Descampe
* Copyright (c) 2005, Herve Drolon, FreeImage Team
* Copyright (c) 2002-2005, Communications and remote sensing Laboratory, Universite catholique de Louvain, Belgium
* Copyright (c) 2006, Mónica Díez, LPI-UVA, Spain
* Copyright (c) 2006, Mónica Díez, LPI-UVA, Spain
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -1389,7 +1389,7 @@ bool tcd_rateallocate(opj_tcd_t *tcd, unsigned char *dest, int len, opj_volume_i
/* ----------------------------------------------------------------------- */
int tcd_encode_tile(opj_tcd_t *tcd, int tileno, unsigned char *dest, int len, opj_volume_info_t * volume_info) {
int compno;
int l, i, npck = 0;
int l = 0, i, npck = 0;
double encoding_time;

opj_tcd_tile_t *tile = NULL;
Expand Down

0 comments on commit cb72c08

Please sign in to comment.