Skip to content

Commit 71076d7

Browse files
committed
remove unnecessary check for members
1 parent 629f341 commit 71076d7

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

FlashpointSecurePlayer/Shared.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2815,9 +2815,7 @@ public static object LengthenValue(object value, string path, PathNames pathName
28152815
return value;
28162816
}
28172817

2818-
if (pathNames == null
2819-
|| pathNames.Short == null
2820-
|| pathNames.Long == null) {
2818+
if (pathNames == null) {
28212819
pathNames = new PathNames();
28222820
}
28232821

@@ -2859,8 +2857,7 @@ public static object ReplaceStartupPathEnvironmentVariable(object lengthenedValu
28592857
return lengthenedValue;
28602858
}
28612859

2862-
if (pathNames == null
2863-
|| pathNames.Long == null) {
2860+
if (pathNames == null) {
28642861
pathNames = new PathNames();
28652862
}
28662863

0 commit comments

Comments
 (0)