diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-07-18 15:10:24 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-07-31 20:05:52 +0000 |
commit | 7edc3fed5e48bf59744f67d319e32e2cca0cfa8e (patch) | |
tree | a32072d57d2453592127569bdbfb712285fe437d /configure | |
parent | 7ace252a6af1a05aa1ee3d08cf093a46f8a00ad0 (diff) | |
download | qemu-7edc3fed5e48bf59744f67d319e32e2cca0cfa8e.zip qemu-7edc3fed5e48bf59744f67d319e32e2cca0cfa8e.tar.gz qemu-7edc3fed5e48bf59744f67d319e32e2cca0cfa8e.tar.bz2 |
configure: Fix compile warning in PNG test
Fix compile warning (variable 'png_ptr' set but not used) in the
PNG detection test code.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1729,7 +1729,7 @@ cat > $TMPC <<EOF int main(void) { png_structp png_ptr; png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); - return 0; + return png_ptr != 0; } EOF if $pkg_config libpng --modversion >/dev/null 2>&1; then |