diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-03-12 22:35:29 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-03-14 18:51:50 +0100 |
| commit | 4ba4bf25400271423c4cc94f97d814d8489ae46e (patch) | |
| tree | 0859ec6fef2dc79eb91329e9af6c0fc195931aa6 /src | |
| parent | 0223e2517eef43e0e6955408a1aef89d2d981983 (diff) | |
| download | PROJ-4ba4bf25400271423c4cc94f97d814d8489ae46e.tar.gz PROJ-4ba4bf25400271423c4cc94f97d814d8489ae46e.zip | |
Fix dead assignment spotted by clang static analyzer
Diffstat (limited to 'src')
| -rw-r--r-- | src/pj_datum_set.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pj_datum_set.c b/src/pj_datum_set.c index 014941e5..5955ed5e 100644 --- a/src/pj_datum_set.c +++ b/src/pj_datum_set.c @@ -81,6 +81,8 @@ int pj_datum_set(projCtx ctx, paralist *pl, PJ *projdef) if( pj_datums[i].defn && strlen(pj_datums[i].defn) > 0 ) curr = curr->next = pj_mkparam(pj_datums[i].defn); + + (void)curr; /* make clang static analyzer happy */ } /* -------------------------------------------------------------------- */ |
