all: remove warnings

Nothing very interesting, except a pretty sum between a const char* and a
size_t (instead of concatenation).  It also removes some useless assert on
collection sizes.
I think you should remove the parameter completely