mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:50:37 +00:00
Remove some stupid compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30091 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d4b51a7b63
commit
211d150a79
5 changed files with 17 additions and 10 deletions
|
@ -456,7 +456,7 @@ glyphs to be drawn upside-down, so we need to tell NSFont to flip the fonts.
|
|||
cache_t *c;
|
||||
|
||||
NSRange r;
|
||||
BOOL need_clip;
|
||||
BOOL need_clip = NO;
|
||||
NSGraphicsContext *ctxt = GSCurrentContext();
|
||||
|
||||
if (rect.size.width <= 0 || rect.size.height <= 0)
|
||||
|
@ -540,7 +540,7 @@ glyphs to be drawn upside-down, so we need to tell NSFont to flip the fonts.
|
|||
- (NSSize) size
|
||||
{
|
||||
int ci;
|
||||
NSSize result;
|
||||
NSSize result = NSZeroSize;
|
||||
|
||||
cache_lock();
|
||||
NS_DURING
|
||||
|
@ -569,7 +569,7 @@ glyphs to be drawn upside-down, so we need to tell NSFont to flip the fonts.
|
|||
options: (NSStringDrawingOptions)options
|
||||
{
|
||||
int ci;
|
||||
NSRect result;
|
||||
NSRect result = NSZeroRect;
|
||||
|
||||
cache_lock();
|
||||
NS_DURING
|
||||
|
@ -660,7 +660,7 @@ NSAttributedString to do the job.
|
|||
cache_t *c;
|
||||
|
||||
NSRange r;
|
||||
BOOL need_clip;
|
||||
BOOL need_clip = NO;
|
||||
NSGraphicsContext *ctxt = GSCurrentContext();
|
||||
|
||||
if (rect.size.width <= 0 || rect.size.height <= 0)
|
||||
|
@ -743,7 +743,7 @@ NSAttributedString to do the job.
|
|||
- (NSSize) sizeWithAttributes: (NSDictionary *)attrs
|
||||
{
|
||||
int ci;
|
||||
NSSize result;
|
||||
NSSize result = NSZeroSize;
|
||||
|
||||
cache_lock();
|
||||
NS_DURING
|
||||
|
@ -773,7 +773,7 @@ NSAttributedString to do the job.
|
|||
attributes: (NSDictionary *)attributes
|
||||
{
|
||||
int ci;
|
||||
NSRect result;
|
||||
NSRect result = NSZeroRect;
|
||||
|
||||
cache_lock();
|
||||
NS_DURING
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue