comparison base/CommandHistory.cpp @ 259:dc46851837d6

* Fix many compile warnings, remove some debug output
author Chris Cannam
date Mon, 30 Apr 2007 13:36:23 +0000
parents ce6f65ab3327
children 9867f99e0bb7
comparison
equal deleted inserted replaced
258:96a6dd889c68 259:dc46851837d6
365 if ((int)stack.size() > limit) { 365 if ((int)stack.size() > limit) {
366 366
367 CommandStack tempStack; 367 CommandStack tempStack;
368 368
369 for (i = 0; i < limit; ++i) { 369 for (i = 0; i < limit; ++i) {
370 Command *command = stack.top(); 370 // Command *command = stack.top();
371 // std::cerr << "CommandHistory::clipStack: Saving recent command: " << command->getName().toLocal8Bit().data() << " at " << command << std::endl; 371 // std::cerr << "CommandHistory::clipStack: Saving recent command: " << command->getName().toLocal8Bit().data() << " at " << command << std::endl;
372 tempStack.push(stack.top()); 372 tempStack.push(stack.top());
373 stack.pop(); 373 stack.pop();
374 } 374 }
375 375