~ubuntu-branches/ubuntu/wily/spatialite/wily-proposed

« back to all changes in this revision

Viewing changes to examples/demo2.c

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-07-14 11:57:46 UTC
  • mfrom: (16.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20150714115746-e2iljfmb5sq7o5hh
Tags: 4.3.0-1
Move from experimental to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
demo2.c
4
4
 
5
 
Author: Sandro Furieri a-furieri@lqt.it
 
5
Author: Sandro Furieri a.furieri@lqt.it
6
6
 
7
7
This software is provided 'as-is', without any express or implied
8
8
warranty.  In no event will the author be held liable for any
202
202
    sqlite3 *handle;
203
203
    void *cache;
204
204
 
 
205
    if (argc > 1 || argv[0] == NULL)
 
206
        argc = 1;               /* silencing stupid compiler warnings */
205
207
 
206
208
/*
207
209
 
540
542
        gaiaFreeGeomColl (geo_coll);
541
543
    sqlite3_close (handle);
542
544
    spatialite_cleanup_ex (cache);
 
545
    spatialite_shutdown();
543
546
    return 0;
544
547
}