mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-01 17:48:41 +00:00
Fix unreachable code warnings
This commit is contained in:
parent
46a5b62f68
commit
ea5f216b1f
3 changed files with 11 additions and 12 deletions
|
@ -144,9 +144,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</noscript>
|
||||
@* ReSharper disable HeuristicUnreachableCode *@
|
||||
@* ReSharper disable CSharpWarnings::CS0162 *@
|
||||
@if (!ServerStatics.IsDebug && VersionHelper.IsDirty)
|
||||
@if (!ServerStatics.IsDebug() && VersionHelper.IsDirty)
|
||||
{
|
||||
<div class="ui bottom attached red message large">
|
||||
<div class="ui container">
|
||||
|
@ -166,8 +164,6 @@
|
|||
</div>
|
||||
</div>
|
||||
}
|
||||
@* ReSharper restore CSharpWarnings::CS0162 *@
|
||||
@* ReSharper restore HeuristicUnreachableCode *@
|
||||
</header>
|
||||
<div class="main">
|
||||
<div class="ui container">
|
||||
|
@ -197,7 +193,7 @@
|
|||
}
|
||||
</div>
|
||||
</div>
|
||||
@if (ServerStatics.IsDebug)
|
||||
@if (ServerStatics.IsDebug())
|
||||
{
|
||||
<div class="ui red attached inverted segment">
|
||||
<div class="ui container">
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
|
||||
<br><br>
|
||||
|
||||
@if (ServerStatics.IsDebug)
|
||||
@if (ServerStatics.IsDebug())
|
||||
{
|
||||
<button class="ui red button" onclick="fill()">DEBUG: Fill with everything but email</button>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue