summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2014-05-19 13:02:02 +0200
committerJulian Laubstein <julianlaubstein@yahoo.de>2014-05-19 13:02:02 +0200
commite9abf9a4987835a52dab508f9b8a8feb57e9a103 (patch)
tree9acc8d1b9af75f83c28595c6491ae003917d2b7b /src
parentFixed some warnings (diff)
downloadcuberite-e9abf9a4987835a52dab508f9b8a8feb57e9a103.tar
cuberite-e9abf9a4987835a52dab508f9b8a8feb57e9a103.tar.gz
cuberite-e9abf9a4987835a52dab508f9b8a8feb57e9a103.tar.bz2
cuberite-e9abf9a4987835a52dab508f9b8a8feb57e9a103.tar.lz
cuberite-e9abf9a4987835a52dab508f9b8a8feb57e9a103.tar.xz
cuberite-e9abf9a4987835a52dab508f9b8a8feb57e9a103.tar.zst
cuberite-e9abf9a4987835a52dab508f9b8a8feb57e9a103.zip
Diffstat (limited to 'src')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.h b/src/Simulator/IncrementalRedstoneSimulator.h
index a57a17328..233a3d408 100644
--- a/src/Simulator/IncrementalRedstoneSimulator.h
+++ b/src/Simulator/IncrementalRedstoneSimulator.h
@@ -202,13 +202,8 @@ private:
case E_BLOCK_POWERED_RAIL:
{
return true;
- break;
- }
- default:
- {
- return false;
- break;
}
+ default: return false;
}
}
@@ -280,13 +275,8 @@ private:
case E_BLOCK_PISTON:
{
return true;
- break;
- }
- default:
- {
- return false;
- break;
}
+ default: return false;
}
}
};