Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
Signed-off-by: Nishant Bansal <[email protected]>
  • Loading branch information
NishantBansal2003 committed Jan 16, 2025
1 parent 4556a7e commit e8b9dd9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions raster/r.describe/dumplist.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ int long_list(struct Cell_stats *statf, DCELL dmin, DCELL dmax,
{
CELL cat;
long count; /* not used, but required by cell stats call */
char cat_str[MAX_STR_LEN];
JSON_Value *root_value, *range_value;
JSON_Object *root_object;
JSON_Array *range_array;
Expand Down Expand Up @@ -277,7 +276,6 @@ int compact_range_list(CELL negmin, CELL negmax, CELL zero, CELL posmin,
CELL posmax, CELL null, char *no_data_str,
int skip_nulls, enum OutputFormat format)
{
char cat_str[MAX_STR_LEN];
JSON_Value *root_value, *range_value;
JSON_Object *root_object;
JSON_Array *range_array;
Expand Down Expand Up @@ -347,7 +345,6 @@ int range_list(CELL negmin, CELL negmax, CELL zero, CELL posmin, CELL posmax,
CELL null, char *no_data_str, int skip_nulls,
enum OutputFormat format)
{
char cat_str[MAX_STR_LEN];
JSON_Value *root_value, *range_value;
JSON_Object *root_object;
JSON_Array *range_array;
Expand Down
2 changes: 0 additions & 2 deletions raster/r.describe/local_proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
#include <grass/raster.h>
#include <grass/parson.h>

#define MAX_STR_LEN 100

enum OutputFormat { PLAIN, JSON };

/* describe.c */
Expand Down

0 comments on commit e8b9dd9

Please sign in to comment.