From dd23089179fa5456819321d0bb5279d7bcc84050 Mon Sep 17 00:00:00 2001 From: waltje Date: Tue, 30 Apr 2019 04:45:12 -0500 Subject: [PATCH] Whoops, fixed a compiler warning. --- .travis-build.sh | 8 ++++---- .travis-deploy.sh | 2 +- src/win/win_d2d.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis-build.sh b/.travis-build.sh index 4aed194..8a0f4a8 100644 --- a/.travis-build.sh +++ b/.travis-build.sh @@ -61,11 +61,11 @@ # We only need the first few characters of the commit ID. export COMMIT=${TRAVIS_COMMIT::7} - echo "Downloading VARCem build dependencies.." + echo ; echo "Downloading VARCem build dependencies.." curl -# ${EXTDEP_URL} | tar xzf - 2>/dev/null # Build the project. - echo "Building VARCem, build #${TRAVIS_BUILD_NUMBER} target ${TARGET}" + echo ; echo "Building VARCem #${TRAVIS_BUILD_NUMBER} target ${TARGET}" cd src @@ -77,9 +77,9 @@ fi # Package the results so we can upload them. - echo "Build #${TRAVIS_BUILD_NUMBER} OK, packing up." + echo ; echo "Build #${TRAVIS_BUILD_NUMBER} OK, packing up." - zip -9 ../${TARGET}.zip *.exe + zip -q -9 ../${TARGET}.zip *.exe if [ $? != 0 ]; then echo "ZIP failed, not uploading." diff --git a/.travis-deploy.sh b/.travis-deploy.sh index 83f3955..4107865 100644 --- a/.travis-deploy.sh +++ b/.travis-deploy.sh @@ -71,7 +71,7 @@ exit 1 fi - echo "Uploading VARCem build #${TRAVIS_BUILD_NUMBER} target ${TARGET}" + echo ; echo "Uploading VARCem #${TRAVIS_BUILD_NUMBER} target ${TARGET}" curl -# -X POST \ -F "type=${BTYPE}" \ -F "build=${TRAVIS_BUILD_NUMBER}" \ diff --git a/src/win/win_d2d.cpp b/src/win/win_d2d.cpp index b817848..d56bffa 100644 --- a/src/win/win_d2d.cpp +++ b/src/win/win_d2d.cpp @@ -189,7 +189,7 @@ d2d_blit(bitmap_t *scr, int x, int y, int y1, int y2, int w, int h) HRESULT hr = S_OK; void *srcdata; int yy; - float fs_x, fs_y; + float fs_x = 0, fs_y = 0; float fs_w = (float)w; float fs_h = (float)h;