diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2015-05-19 09:11:17 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-05-19 09:11:17 +0100 |
commit | b63901d84cc22a06f82900620fdbe01ff16511ec (patch) | |
tree | 3181e01e78564f258770d37f32cd0d8f83767064 /pc-bios/efi-pcnet.rom | |
parent | 4e34017c21485e5606beda7e6218c36d3568b363 (diff) |
ui/cocoa: Drop tests for CGImageCreateWithImageInRect support
The code that tries to test at both compiletime and runtime
for whether CGImageCreateWithImageInRect is supported provokes
a compile warning on OSX 10.3:
ui/cocoa.m:378:13: warning: comparison of function 'CGImageCreateWithImageInRect'
equal to a null pointer is always false[-Wtautological-pointer-compare]
if (CGImageCreateWithImageInRect == NULL) { // test if "CGImageCreateWithImageInRect" is
supported on host at runtime
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
The simplest way to deal with this is just to drop this code,
since we don't in practice support OSX 10.4 anyway. (10.5 was
released in 2007 and is the last PPC version, so is the earliest
we really need to continue to support at all.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1431296361-16981-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'pc-bios/efi-pcnet.rom')
0 files changed, 0 insertions, 0 deletions