aboutsummaryrefslogtreecommitdiff
path: root/src/pj_gc_reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_gc_reader.c')
-rw-r--r--src/pj_gc_reader.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/pj_gc_reader.c b/src/pj_gc_reader.c
index 1845fca0..81d0fb26 100644
--- a/src/pj_gc_reader.c
+++ b/src/pj_gc_reader.c
@@ -1,6 +1,4 @@
/******************************************************************************
- * $Id$
- *
* Project: PROJ.4
* Purpose: Code to read a grid catalog from a .cvs file.
* Author: Frank Warmerdam, warmerdam@pobox.com
@@ -34,7 +32,6 @@
#include <ctype.h>
static int pj_gc_readentry(projCtx ctx, PAFile fid, PJ_GridCatalogEntry *entry);
-static void pj_gc_sortcatalog( projCtx ctx, PJ_GridCatalog *catalog );
/************************************************************************/
/* pj_gc_readcatalog() */
@@ -82,24 +79,10 @@ PJ_GridCatalog *pj_gc_readcatalog( projCtx ctx, const char *catalog_name )
}
}
- pj_gc_sortcatalog( ctx, catalog );
-
return catalog;
}
/************************************************************************/
-/* pj_gc_sortcatalog() */
-/* */
-/* Sort all the entries in ascending date and within a date in */
-/* descending priority order. */
-/************************************************************************/
-
-static void pj_gc_sortcatalog( projCtx ctx, PJ_GridCatalog *catalog )
-
-{
-}
-
-/************************************************************************/
/* pj_gc_read_csv_line() */
/* */
/* Simple csv line splitter with fixed maximum line size and */
@@ -155,6 +138,8 @@ static int pj_gc_read_csv_line( projCtx ctx, PAFile fid,
double pj_gc_parsedate( projCtx ctx, const char *date_string )
{
+ (void) ctx;
+
if( strlen(date_string) == 10
&& date_string[4] == '-' && date_string[7] == '-' )
{