diff options
Diffstat (limited to 'macosx/tkMacOSXColor.c')
-rw-r--r-- | macosx/tkMacOSXColor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/tkMacOSXColor.c b/macosx/tkMacOSXColor.c index 135003d..ffb520d 100644 --- a/macosx/tkMacOSXColor.c +++ b/macosx/tkMacOSXColor.c @@ -592,11 +592,10 @@ TkpGetColor( Colormap colormap = tkwin ? Tk_Colormap(tkwin) : noColormap; NSView *view = nil; static Bool initialized = NO; - static NSColorSpace* sRGB = nil; if (!initialized) { initialized = YES; - sRGB = [NSColorSpace sRGBColorSpace]; + (void)[NSColorSpace sRGBColorSpace]; initColorTable(); } if (tkwin) { |