Remove a stray space. Clean up awkware if result...result construct.

This commit is contained in:
Lars Bergstrom 2013-09-12 15:16:35 -07:00
parent 969a4e30fb
commit 0c6514eac8
2 changed files with 4 additions and 7 deletions

View file

@ -43,7 +43,7 @@ endif
ifdef CFG_ENABLE_DEBUG
$(info cfg: enabling more debugging (CFG_ENABLE_DEBUG))
CFG_RUSTC_FLAGS +=
CFG_RUSTC_FLAGS +=
CFG_GCCISH_CFLAGS += -DRUST_DEBUG
else
CFG_GCCISH_CFLAGS += -DRUST_NDEBUG

View file

@ -489,12 +489,9 @@ impl CompositorLayer {
.any(|x| {
let buffers = cell.take();
let result = x.add_buffers(pipeline_id, buffers.clone(), epoch);
if result {
result
} else {
cell.put_back(buffers);
result
}})
cell.put_back(buffers);
result
})
}
}