Removed useless break statements

This commit is contained in:
Dylan K. Taylor 2017-05-16 21:20:22 +01:00
parent 0935855def
commit 8887a92d4b

View File

@ -227,7 +227,6 @@ namespace pocketmine {
} }
return parse_offset($offset); return parse_offset($offset);
break;
case 'linux': case 'linux':
// Ubuntu / Debian. // Ubuntu / Debian.
if(file_exists('/etc/timezone')){ if(file_exists('/etc/timezone')){
@ -254,7 +253,6 @@ namespace pocketmine {
} }
return parse_offset($offset); return parse_offset($offset);
break;
case 'mac': case 'mac':
if(is_link('/etc/localtime')){ if(is_link('/etc/localtime')){
$filename = readlink('/etc/localtime'); $filename = readlink('/etc/localtime');
@ -265,10 +263,8 @@ namespace pocketmine {
} }
return false; return false;
break;
default: default:
return false; return false;
break;
} }
} }