mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Fix IDE0018: Inline variable declaration
This commit is contained in:
parent
383ebde202
commit
0556102ff5
1 changed files with 1 additions and 2 deletions
|
|
@ -72,9 +72,8 @@ internal static class SignatureHelper
|
|||
}
|
||||
}
|
||||
|
||||
IntPtr ptr;
|
||||
var success = sig.ScanType == ScanType.Text
|
||||
? scanner.TryScanText(sig.Signature, out ptr)
|
||||
? scanner.TryScanText(sig.Signature, out var ptr)
|
||||
: scanner.TryGetStaticAddressFromSig(sig.Signature, out ptr);
|
||||
if (!success)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue