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.
Merge pull request #519 from TeXitoi/warnings

all: remove warnings