diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2014-11-03 04:08:41 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2014-11-03 04:08:41 +0000 |
commit | 49c81c17e3d17b3fcd5e0bdf32216af94376061a (patch) | |
tree | 8df491eb0b189c1761f1d7c696682a67c2b93780 /scheduler/sysman.c | |
parent | 3d2fdf3863fe5d16a7c584889a9021110b93626c (diff) | |
download | cups-49c81c17e3d17b3fcd5e0bdf32216af94376061a.tar.gz |
Save work.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12236 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'scheduler/sysman.c')
-rw-r--r-- | scheduler/sysman.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scheduler/sysman.c b/scheduler/sysman.c index 404ff9a57..b78bbf196 100644 --- a/scheduler/sysman.c +++ b/scheduler/sysman.c @@ -360,7 +360,8 @@ cupsdStartSystemMonitor(void) cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdStartSystemMonitor: IOPSGetTimeRemainingEstimate=%f", IOPSGetTimeRemainingEstimate()); ACPower = IOPSGetTimeRemainingEstimate() == kIOPSTimeRemainingUnlimited; - notify_register_dispatch(kIOPSNotifyPowerSource, &PSToken, dispatch_get_main_queue(), ^(int t) { ACPower = IOPSGetTimeRemainingEstimate() == kIOPSTimeRemainingUnlimited; }); + notify_register_dispatch(kIOPSNotifyPowerSource, &PSToken, dispatch_get_main_queue(), ^(int t) { (void)t; + ACPower = IOPSGetTimeRemainingEstimate() == kIOPSTimeRemainingUnlimited; }); } |