I came across some compiler warnings caused by unused variables: upower-0.99.2/tools/up-tool.c:169:10: warning: unused variable 'error' [-Wunused-variable] upower-0.99.2/tools/up-tool.c:123:16: warning: unused variable 'warning_level' [-Wunused-variable]
Created attachment 117003 [details] [review] fix the warnings
Cosimo's patch got there first; apologies.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.