diff options
| author | minfrin <minfrin@13f79535-47bb-0310-9956-ffa450edef68> | 2018-09-02 20:50:16 +0000 |
|---|---|---|
| committer | minfrin <minfrin@13f79535-47bb-0310-9956-ffa450edef68> | 2018-09-02 20:50:16 +0000 |
| commit | b2ff5310cbb199ac60eab2751c80ba7255450332 (patch) | |
| tree | e94edc7f3a829e02a6f1efaf4980b8efde3b088f /jose | |
| parent | d2ff69b1cfffa388ac4e2f0e12c6795e16e20454 (diff) | |
| download | libapr-b2ff5310cbb199ac60eab2751c80ba7255450332.tar.gz | |
Explicitly declare parameters as nonnull.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1839894 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jose')
| -rw-r--r-- | jose/apr_jose_encode.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/jose/apr_jose_encode.c b/jose/apr_jose_encode.c index 71088b8ca..220c6f2b8 100644 --- a/jose/apr_jose_encode.c +++ b/jose/apr_jose_encode.c @@ -678,11 +678,6 @@ apr_status_t apr_jose_encode(apr_bucket_brigade *brigade, apr_pool_t *p; apr_status_t status = APR_EINVAL; - /* if asked to encode nothing, encode nothing */ - if (jose == NULL) { - return APR_SUCCESS; - } - apr_pool_create(&p, pool); if (p == NULL) { return APR_ENOMEM; |
