clean up unused variables, from Ryan O'Hara
This commit is contained in:
parent
c75a703586
commit
1081940af3
2 changed files with 6 additions and 3 deletions
|
@ -1,5 +1,8 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 0.9.11
|
||||
*04/09/10:
|
||||
* Clean up some unused variables (thanks Ryan O'Hara)
|
||||
FbTk/XLayer.cc
|
||||
*04/09/09:
|
||||
* tidy+replace qiv with display in screenshot, add jpg option (Han)
|
||||
fluxbox-generate_menu.in
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: XLayer.cc,v 1.9 2003/07/20 18:05:40 rathnor Exp $
|
||||
// $Id: XLayer.cc,v 1.10 2004/09/10 04:03:58 rathnor Exp $
|
||||
|
||||
#include "XLayer.hh"
|
||||
#include "XLayerItem.hh"
|
||||
|
@ -53,7 +53,7 @@ void XLayer::restack() {
|
|||
size_t j=0;
|
||||
|
||||
// add all the windows from each item
|
||||
for (size_t i=0; it != it_end; ++it, i++) {
|
||||
for (; it != it_end; ++it) {
|
||||
XLayerItem::Windows::const_iterator wit = (*it)->getWindows().begin();
|
||||
XLayerItem::Windows::const_iterator wit_end = (*it)->getWindows().end();
|
||||
for (; wit != wit_end; ++wit) {
|
||||
|
@ -72,7 +72,7 @@ int XLayer::countWindows() {
|
|||
int num_windows = 0;
|
||||
iterator it = itemList().begin();
|
||||
iterator it_end = itemList().end();
|
||||
for (size_t i=0; it != it_end; ++it, i++) {
|
||||
for (; it != it_end; ++it) {
|
||||
num_windows += (*it)->numWindows();
|
||||
}
|
||||
return num_windows;
|
||||
|
|
Loading…
Reference in a new issue