LIJI32 / SameBoy

Game Boy and Game Boy Color emulator written in C
https://sameboy.github.io/
Other
1.58k stars 205 forks source link

Removed unused local variable "lineIndex" that was generating a warning. #558

Closed arthurgiroux closed 11 months ago

arthurgiroux commented 11 months ago

This unused variable was generating a warning that was treated as an error and stopping the compilation on Mac.

HexFiend/HFRepresenterTextView.m:1209:16: error: unused variable 'lineIndex' [-Werror,-Wunused-variable]
    NSUInteger lineIndex = 0;

Compilation environment:

Apple M2 Apple clang version 14.0.3 (clang-1403.0.22.14.1) Target: arm64-apple-darwin22.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin