Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
Remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ApolloZhu committed Sep 17, 2019
1 parent d14969b commit 899e6a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Sources/QRCodeModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ struct QRCodeModel {
private static func createData(
typeNumber: Int, errorCorrectLevel: QRErrorCorrectLevel, data: QR8bitByte
) throws -> [Int] {
var rsBlocks = errorCorrectLevel.getRSBlocksOfType(typeNumber)
let rsBlocks = errorCorrectLevel.getRSBlocksOfType(typeNumber)
var buffer = QRBitBuffer()

buffer.put(data.mode.rawValue, length: 4)
Expand Down

0 comments on commit 899e6a5

Please sign in to comment.