- A number of unused variable warnings,
- a missing prototype warning (actually a dead function),
- and a potential use of an uninitialized variable.
This patch is just for the code under sys/dev/pms/freebsd, which I am assuming we are free to patch and maintain.
I also have a set of patches that would fix the rest of the warnings in pms (outside of pms/freebsd) and actually allow enabling warnings for the module. I assume there is an upstream somewhere, but I haven't been able to find it yet.