EmuHawk: SharpCompress - mitigate some compiler warnings

This commit is contained in:
Asnivor 2019-01-14 16:12:34 +00:00
parent a671f10c9b
commit b289149a1f
5 changed files with 8 additions and 8 deletions

View File

@ -186,13 +186,13 @@ struct UnpackThreadData
//struct UnpackFilter30
internal class UnpackFilter30
{
public uint BlockStart;
public uint BlockLength;
public bool NextWindow;
//public uint BlockStart;
//public uint BlockLength;
//public bool NextWindow;
// Position of parent filter in Filters array used as prototype for filter
// in PrgStack array. Not defined for filters in Filters array.
public uint ParentFilter;
//public uint ParentFilter;
/*#if !RarV2017_RAR5ONLY
public VM_PreparedProgram Prg;

View File

@ -11,7 +11,7 @@ namespace SharpCompress.Compressors.Rar.VM
// TODO: rename var
public int InAddr { get { return inAddr; } set { inAddr = value; } }
public int InBit { get { return inBit; } set { inBit = value; } }
public bool ExternalBuffer;
public bool ExternalBuffer = false;
/// <summary> </summary>

View File

@ -7,7 +7,7 @@ using SharpCompress.IO;
namespace SharpCompress.Compressors.Xz
{
[CLSCompliant(false)]
//[CLSCompliant(false)]
public class XZIndex
{
private readonly BinaryReader _reader;

View File

@ -3,7 +3,7 @@ using System.IO;
namespace SharpCompress.Compressors.Xz
{
[CLSCompliant(false)]
//[CLSCompliant(false)]
public class XZIndexRecord
{
public ulong UnpaddedSize { get; private set; }

View File

@ -3,7 +3,7 @@ using System.IO;
namespace SharpCompress.Compressors.Xz
{
[CLSCompliant(false)]
//[CLSCompliant(false)]
public sealed class XZStream : XZReadOnlyStream
{
public static bool IsXZStream(Stream stream)