core: fixed several clang compiler warnings

(cherry picked from commit f0fb6f1e9fbb2f7f0c2bed5ba0d50a56cf5cf444)
(cherry picked from commit 90681624c54f0ec0b1259e205bcc0274316b4549)

Conflicts:
	parser/parse_fline.c