diff options
Diffstat (limited to 'src/PJ_sch.cpp')
| -rw-r--r-- | src/PJ_sch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_sch.cpp b/src/PJ_sch.cpp index 23b6c4c2..5a2f944b 100644 --- a/src/PJ_sch.cpp +++ b/src/PJ_sch.cpp @@ -195,7 +195,7 @@ static PJ *setup(PJ *P) { /* general initialization */ PJ *PROJECTION(sch) { struct pj_opaque *Q = static_cast<struct pj_opaque*>(pj_calloc (1, sizeof (struct pj_opaque))); - if (0==Q) + if (nullptr==Q) return pj_default_destructor(P, ENOMEM); P->opaque = Q; |
