Silence a bunch of unused result warnings in proflog.c.
Fix volatile pointer casts in proflog.c.
Silence some warnings in decode.c.