aboutsummaryrefslogtreecommitdiff
path: root/src/pj_initcache.c
diff options
context:
space:
mode:
authorKurt Schwehr <schwehr@google.com>2018-05-15 13:42:20 -0700
committerKurt Schwehr <schwehr@google.com>2018-05-15 13:42:20 -0700
commit1e8824517900d37232468b9e3d7f3724e7ffa786 (patch)
tree832a1a4c344cad4d4edfbea9b84adddd63e0001e /src/pj_initcache.c
parentae40f8d2e407d98b75973dcbe4eb4cf5d3cb87a3 (diff)
downloadPROJ-1e8824517900d37232468b9e3d7f3724e7ffa786.tar.gz
PROJ-1e8824517900d37232468b9e3d7f3724e7ffa786.zip
IWYU: Partial PJ_natearth.c..rtodms.c
Diffstat (limited to 'src/pj_initcache.c')
-rw-r--r--src/pj_initcache.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pj_initcache.c b/src/pj_initcache.c
index a0593138..3c347e4b 100644
--- a/src/pj_initcache.c
+++ b/src/pj_initcache.c
@@ -25,9 +25,10 @@
* DEALINGS IN THE SOFTWARE.
*****************************************************************************/
-#include "projects.h"
#include <string.h>
+#include "projects.h"
+
static int cache_count = 0;
static int cache_alloc = 0;
static char **cache_key = NULL;
@@ -51,7 +52,7 @@ paralist *pj_clone_paralist( const paralist *list)
newitem->used = 0;
newitem->next = 0;
strcpy( newitem->param, list->param );
-
+
if( list_copy == NULL )
list_copy = newitem;
else