ap_get_request_note() cannot fail unless there is a bug somewhere and if
prep_walk_cache() returned NULL, we would just segfault later on.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1057920 13f79535-47bb-0310-9956-
ffa450edef68
* that exists; if not, then create a new walk cache.
*/
note = ap_get_request_note(r, t);
- if (!note) {
- return NULL;
- }
+ AP_DEBUG_ASSERT(note != NULL);
copy_cache = prev_cache = *note;
count = prev_cache ? (prev_cache->count + 1) : 0;