diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-07-30 15:09:12 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-07-30 15:09:41 +0100 |
commit | e517d757cc95245709090308e48f2ba2333c06f8 (patch) | |
tree | 8481cf8b838026db962b1a7a94a5e3e628a334e9 | |
parent | adfc2d6546246fafeebbd1e3ece2f5360ca74736 (diff) | |
download | qemu-arm-e517d757cc95245709090308e48f2ba2333c06f8.tar.gz |
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>
-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 |