xsf: Comment out unused function.
Fix/disable remaining compiler warnings.