Remove unused variable

This commit is contained in:
Jeff Parsons 2016-08-24 14:07:45 -07:00
commit 3ae0c3a263

View file

@ -1204,7 +1204,6 @@ Video8080.prototype.updateVT100 = function(fForced)
*/ */
Video8080.prototype.updateScreen = function(fForced) Video8080.prototype.updateScreen = function(fForced)
{ {
var fClean;
var fUpdate = true; var fUpdate = true;
if (!fForced) { if (!fForced) {
@ -1237,7 +1236,7 @@ Video8080.prototype.updateScreen = function(fForced)
* is clean, then there's nothing to do. * is clean, then there's nothing to do.
*/ */
if (fUpdate && this.fCellCacheValid && this.sizeBuffer) { if (fUpdate && this.fCellCacheValid && this.sizeBuffer) {
if ((fClean = this.bus.cleanMemory(this.addrBuffer, this.sizeBuffer))) { if (this.bus.cleanMemory(this.addrBuffer, this.sizeBuffer)) {
fUpdate = false; fUpdate = false;
} }
} }