Date: Sat, 11 Sep 2010 21:52:40 +0000 (UTC) From: Bruce Cran <brucec@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r212481 - stable/8/usr.sbin/powerd Message-ID: <201009112152.o8BLqeYS045691@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brucec Date: Sat Sep 11 21:52:40 2010 New Revision: 212481 URL: http://svn.freebsd.org/changeset/base/212481 Log: Remove unused variable 'idle' which mistakenly got merged in r212472. Approved by: rrs (mentor) Modified: stable/8/usr.sbin/powerd/powerd.c Modified: stable/8/usr.sbin/powerd/powerd.c ============================================================================== --- stable/8/usr.sbin/powerd/powerd.c Sat Sep 11 21:49:28 2010 (r212480) +++ stable/8/usr.sbin/powerd/powerd.c Sat Sep 11 21:52:40 2010 (r212481) @@ -443,7 +443,7 @@ main(int argc, char * argv[]) struct pidfh *pfh = NULL; const char *pidfile = NULL; int freq, curfreq, initfreq, *freqs, i, j, *mwatts, numfreqs, load; - int ch, mode, mode_ac, mode_battery, mode_none, idle; + int ch, mode, mode_ac, mode_battery, mode_none; int minfreq = -1, maxfreq = -1; uint64_t mjoules_used; size_t len; @@ -621,7 +621,6 @@ main(int argc, char * argv[]) } } - idle = 0; /* Main loop. */ for (;;) { FD_ZERO(&fdset);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009112152.o8BLqeYS045691>