diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-08-18 20:53:27 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-08-21 15:52:41 +0200 |
commit | 38fa44435a428685b4ac59ee98972a8521942225 (patch) | |
tree | 442600a651acb02d79bd531bcc4a47b40f7565e8 /ucb/source | |
parent | e86def1f3f86731230a27926d61d525653f62c72 (diff) |
fix bogus always-true asserts
Most of these were converted from OSL_ASSERT
Change-Id: Ia95a758cdebf72ee80d00866644d92e6bb915071
Diffstat (limited to 'ucb/source')
-rw-r--r-- | ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx b/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx index bcca8dd0d14c..3b41f13ef0a9 100644 --- a/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx +++ b/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx @@ -162,7 +162,7 @@ serf_bucket_t * SerfPropFindReqProcImpl::createSerfRequestBucket( serf_request_t } else { - assert("Headers Bucket missing"); + assert(!"Headers Bucket missing"); } return req_bkt; diff --git a/ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.cxx b/ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.cxx index 77c6ba9538ab..57502dc3ccbd 100644 --- a/ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.cxx +++ b/ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.cxx @@ -167,7 +167,7 @@ serf_bucket_t * SerfPropPatchReqProcImpl::createSerfRequestBucket( serf_request_ } else { - assert("Headers Bucket missing"); + assert(!"Headers Bucket missing"); } return req_bkt; |