From 83200a32251fcd1cea93762a49c7036475b53b1b Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sat, 5 Apr 2014 23:50:09 +0200 Subject: [PATCH] Removed empty statements. --- src/haptic/darwin/SDL_syshaptic.c | 2 +- src/render/software/SDL_rotate.c | 2 +- test/testshape.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/haptic/darwin/SDL_syshaptic.c b/src/haptic/darwin/SDL_syshaptic.c index 14beb6c86..ecf260bb8 100644 --- a/src/haptic/darwin/SDL_syshaptic.c +++ b/src/haptic/darwin/SDL_syshaptic.c @@ -485,7 +485,7 @@ GetSupportedFeatures(SDL_Haptic * haptic) supported |= SDL_HAPTIC_STATUS | SDL_HAPTIC_PAUSE; haptic->supported = supported; - return 0;; + return 0; } diff --git a/src/render/software/SDL_rotate.c b/src/render/software/SDL_rotate.c index f29d70d4f..0edf784cd 100644 --- a/src/render/software/SDL_rotate.c +++ b/src/render/software/SDL_rotate.c @@ -189,7 +189,7 @@ _transformSurfaceRGBA(SDL_Surface * src, SDL_Surface * dst, int cx, int cy, int if (flipx) dx = sw - dx; if (flipy) dy = sh - dy; if ((dx > -1) && (dy > -1) && (dx < (src->w-1)) && (dy < (src->h-1))) { - sp = (tColorRGBA *)src->pixels;; + sp = (tColorRGBA *)src->pixels; sp += ((src->pitch/4) * dy); sp += dx; c00 = *sp; diff --git a/test/testshape.c b/test/testshape.c index 38465df7c..5538515ad 100644 --- a/test/testshape.c +++ b/test/testshape.c @@ -54,7 +54,7 @@ int main(int argc,char** argv) int button_down; Uint32 pixelFormat = 0; int access = 0; - SDL_Rect texture_dimensions;; + SDL_Rect texture_dimensions; /* Enable standard application logging */ SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);