Functions which have to return value, do this now
Fake default sections added to some switch-case constructions, so compiler does not complain now.
Explicit brackets added to logic expression, which makes it more clear and also compiler does not complain now.
Type casting fixed, so compiler does not complain now
Merge pull request #12 from kuzmas/no_warnings

Some fixes to eliminate compiler warnings