pike.git
/
src
/
builtin.cmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/builtin.cmod:2078:
{ if(count-- < 1) { push_svalue(&k->ind); push_svalue(&k->val); f_aggregate(2); return; } }
-
UNREACHABLE();
+
UNREACHABLE(
return
);
} /*! @decl mixed random(object o) *! If random is called with an object, @[lfun::_random] will be *! called in the object. *! *! @throws *! Throws an exception if the object doesn't have a _random method. *! *! @seealso
pike.git/src/builtin.cmod:3203:
void *mojt_data = THIS->mojt.data; PCHARP r; end = str->str+(str->len<<str->size_shift); switch(str->size_shift) { case eightbit: f = (replace_searchfunc)THIS->mojt.vtab->func0; break; case sixteenbit: f = (replace_searchfunc)THIS->mojt.vtab->func1; break; case thirtytwobit: f = (replace_searchfunc)THIS->mojt.vtab->func2; break;
-
default: UNREACHABLE();
+
default: UNREACHABLE(
break
);
} if(del->len == to->len) { ret = begin_wide_shared_string(str->len, shift); } else { INT32 delimiters = 0; s = str->str;