Skip to content

Commit

Permalink
Silence warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
primo-ppcg committed Apr 26, 2024
1 parent ed642b7 commit fc48200
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/BinaryKits.Zpl.Label/Elements/ZplBarcode93.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public class ZplBarcode93 : ZplBarcode
/// <param name="printInterpretationLineAboveCode"></param>
/// <param name="bottomToTop"></param>
/// <param name="checkDigit"></param>
/// <param name="mode"></param>
public ZplBarcode93(
string content,
int positionX,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public override void Draw(ZplElementBase element, DrawerOptions options)
float labelFontSize = Math.Min(barcode.ModuleWidth * 10f, 100f);
var labelTypeFace = options.FontLoader("A");
var labelFont = new SKFont(labelTypeFace, labelFontSize);
this.DrawInterpretationLine(content, labelFont, x, y, resizedImage.Width, resizedImage.Height, barcode.FieldOrientation != null, barcode.FieldOrientation, barcode.PrintInterpretationLineAboveCode, options);
this.DrawInterpretationLine(content, labelFont, x, y, resizedImage.Width, resizedImage.Height, barcode.FieldOrigin != null, barcode.FieldOrientation, barcode.PrintInterpretationLineAboveCode, options);
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public override void Draw(ZplElementBase element)

maxiBarcode.CreateBarcode("Maxicode(ISO 16023)", content);
}
catch (Exception e)
catch
{
// Do nothing
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public class ZplCode128Symbology
private static readonly Dictionary<Code128CodeSet, (string[], Dictionary<string, int>)> codeMaps;

/// <summary>
/// <see cref="https://en.wikipedia.org/wiki/Code_128#Bar_code_widths"/>
/// <see href="https://en.wikipedia.org/wiki/Code_128#Bar_code_widths"/>
/// </summary>
static ZplCode128Symbology() {
var codeSetTable = new[]
Expand Down

0 comments on commit fc48200

Please sign in to comment.