Skip to content

Commit e1a659a

Browse files
committed
Simplify double assignment
1 parent bca5ec4 commit e1a659a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BinaryObjectScanner/Scanner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ private ProtectionDictionary GetInternalProtections(string fileName, Stream stre
282282
try
283283
{
284284
// Get the first 16 bytes for matching
285-
byte[] magic = new byte[16];
285+
byte[] magic;
286286
try
287287
{
288288
magic = stream.ReadBytes(16);

0 commit comments

Comments
 (0)