git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit 7e6f1f866e89430adaa6be839aecc4a2ccabd69c
parent 3389f50884a94fcdfbb2c52b1008caa65b7105e8
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Sun,  6 Aug 2023 17:52:17 +0300

Merge pull request #558 from arthurgiroux/bugfix/hexfiend-compilation-mac

Removed unused local variable "lineIndex" that was generating a warning.
Diffstat:
MHexFiend/HFRepresenterTextView.m2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/HexFiend/HFRepresenterTextView.m b/HexFiend/HFRepresenterTextView.m @@ -1206,7 +1206,6 @@ static size_t unionAndCleanLists(NSRect *rectList, id *valueList, size_t count) /* Start us off with the horizontal inset and move the baseline down by the ascender so our glyphs just graze the top of our view */ textTransform.tx += [self horizontalContainerInset]; textTransform.ty += [fontObject ascender] - lineHeight * [self verticalOffset]; - NSUInteger lineIndex = 0; const NSUInteger maxGlyphCount = [self maximumGlyphCountForByteCount:bytesPerLine]; NEW_ARRAY(struct HFGlyph_t, glyphs, maxGlyphCount); NEW_ARRAY(CGSize, advances, maxGlyphCount); @@ -1269,7 +1268,6 @@ static size_t unionAndCleanLists(NSRect *rectList, id *valueList, size_t count) else if (NSMinY(lineRectInBoundsSpace) > NSMaxY(clip)) { break; } - lineIndex++; } FREE_ARRAY(glyphs); FREE_ARRAY(advances);

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.