Skip to content

Commit

Permalink
removing unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeezley committed Oct 9, 2013
1 parent fd7baf2 commit 4e2b187
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions convert_geotiff.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ int main (int argc, char * argv[]) {

int c,i,j;
int categorical_range,border_width,word_size,isigned,tile_size;
float scale,missing,missing0;
float scale,missing;
GeogridIndex idx;
char units[STRING_LENGTH],description[STRING_LENGTH],filename[STRING_LENGTH];
TIFF *file;
Expand All @@ -98,7 +98,7 @@ int main (int argc, char * argv[]) {
strcpy(description,"\"NO DESCRIPTION\"");
categorical_range=0;
tile_size=100;
missing0=0.;
missing=0;

/* parse options */
while ( (c = getopt(argc, argv, "hzs:c:b:w:t:m:u:d:") ) != -1) {
Expand Down
3 changes: 1 addition & 2 deletions geogrid_tiles.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ void write_tile(
float *arr /* tile data buffer */
)
{
int itx,ity,isgn,endian,nx,ny,nz,i,j;
float swp;
int itx,ity,isgn,endian,nx,ny,nz;

/* get global index for construction tile file name */
itx=itile_x*idx.tx+1;
Expand Down
2 changes: 1 addition & 1 deletion read_geotiff.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ GeogridIndex get_index_from_geotiff(
int projid,count;
short modeltype;
GeogridIndex idx;
double stdpar1,stdpar2,stdlon,olat,olon,dx,dy;
double stdpar1,stdpar2,stdlon,olat,olon;
double pixelscale[3];
uint32 inx,iny,inz;
uint16 orientation,format;
Expand Down

0 comments on commit 4e2b187

Please sign in to comment.