mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 18:26:23 +00:00
Fix some clang static analyser warnings reported by
Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40484 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
521fd071b4
commit
099257dac9
6 changed files with 19 additions and 28 deletions
|
@ -1815,7 +1815,7 @@ attachmentSize(linefrag_t *lf, NSUInteger glyphIndex)
|
|||
unsigned int char_index =
|
||||
[self characterRangeForGlyphRange: NSMakeRange(g, 1)
|
||||
actualGlyphRange: NULL].location;
|
||||
NSObject<NSTextAttachmentCell> *cell = [[_textStorage attribute: NSAttachmentAttributeName
|
||||
id<NSTextAttachmentCell> cell = [[_textStorage attribute: NSAttachmentAttributeName
|
||||
atIndex: char_index
|
||||
effectiveRange: NULL] attachmentCell];
|
||||
NSRect cellFrame;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue