src/video/SDL_blit_auto.c
changeset 5426 7a3982c50af8
parent 5184 d976b67150c5
child 5535 96594ac5fd1a
     1.1 --- a/src/video/SDL_blit_auto.c	Sun Mar 06 21:15:46 2011 -0800
     1.2 +++ b/src/video/SDL_blit_auto.c	Sun Mar 06 21:17:09 2011 -0800
     1.3 @@ -30,7 +30,6 @@
     1.4  
     1.5  static void SDL_Blit_RGB888_RGB888_Scale(SDL_BlitInfo *info)
     1.6  {
     1.7 -    const int flags = info->flags;
     1.8      int srcy, srcx;
     1.9      int posy, posx;
    1.10      int incy, incx;
    1.11 @@ -41,7 +40,7 @@
    1.12      incx = (info->src_w << 16) / info->dst_w;
    1.13  
    1.14      while (info->dst_h--) {
    1.15 -        Uint32 *src;
    1.16 +        Uint32 *src = 0;
    1.17          Uint32 *dst = (Uint32 *)info->dst;
    1.18          int n = info->dst_w;
    1.19          srcx = -1;
    1.20 @@ -136,7 +135,7 @@
    1.21      incx = (info->src_w << 16) / info->dst_w;
    1.22  
    1.23      while (info->dst_h--) {
    1.24 -        Uint32 *src;
    1.25 +        Uint32 *src = 0;
    1.26          Uint32 *dst = (Uint32 *)info->dst;
    1.27          int n = info->dst_w;
    1.28          srcx = -1;
    1.29 @@ -246,7 +245,7 @@
    1.30      incx = (info->src_w << 16) / info->dst_w;
    1.31  
    1.32      while (info->dst_h--) {
    1.33 -        Uint32 *src;
    1.34 +        Uint32 *src = 0;
    1.35          Uint32 *dst = (Uint32 *)info->dst;
    1.36          int n = info->dst_w;
    1.37          srcx = -1;
    1.38 @@ -368,7 +367,7 @@
    1.39      incx = (info->src_w << 16) / info->dst_w;
    1.40  
    1.41      while (info->dst_h--) {
    1.42 -        Uint32 *src;
    1.43 +        Uint32 *src = 0;
    1.44          Uint32 *dst = (Uint32 *)info->dst;
    1.45          int n = info->dst_w;
    1.46          srcx = -1;
    1.47 @@ -434,7 +433,6 @@
    1.48  
    1.49  static void SDL_Blit_RGB888_BGR888_Scale(SDL_BlitInfo *info)
    1.50  {
    1.51 -    const int flags = info->flags;
    1.52      Uint32 pixel;
    1.53      Uint32 R, G, B, A;
    1.54      int srcy, srcx;
    1.55 @@ -447,7 +445,7 @@
    1.56      incx = (info->src_w << 16) / info->dst_w;
    1.57  
    1.58      while (info->dst_h--) {
    1.59 -        Uint32 *src;
    1.60 +        Uint32 *src = 0;
    1.61          Uint32 *dst = (Uint32 *)info->dst;
    1.62          int n = info->dst_w;
    1.63          srcx = -1;
    1.64 @@ -545,7 +543,7 @@
    1.65      incx = (info->src_w << 16) / info->dst_w;
    1.66  
    1.67      while (info->dst_h--) {
    1.68 -        Uint32 *src;
    1.69 +        Uint32 *src = 0;
    1.70          Uint32 *dst = (Uint32 *)info->dst;
    1.71          int n = info->dst_w;
    1.72          srcx = -1;
    1.73 @@ -655,7 +653,7 @@
    1.74      incx = (info->src_w << 16) / info->dst_w;
    1.75  
    1.76      while (info->dst_h--) {
    1.77 -        Uint32 *src;
    1.78 +        Uint32 *src = 0;
    1.79          Uint32 *dst = (Uint32 *)info->dst;
    1.80          int n = info->dst_w;
    1.81          srcx = -1;
    1.82 @@ -777,7 +775,7 @@
    1.83      incx = (info->src_w << 16) / info->dst_w;
    1.84  
    1.85      while (info->dst_h--) {
    1.86 -        Uint32 *src;
    1.87 +        Uint32 *src = 0;
    1.88          Uint32 *dst = (Uint32 *)info->dst;
    1.89          int n = info->dst_w;
    1.90          srcx = -1;
    1.91 @@ -843,7 +841,6 @@
    1.92  
    1.93  static void SDL_Blit_RGB888_ARGB8888_Scale(SDL_BlitInfo *info)
    1.94  {
    1.95 -    const int flags = info->flags;
    1.96      Uint32 pixel;
    1.97      Uint32 R, G, B, A;
    1.98      int srcy, srcx;
    1.99 @@ -856,7 +853,7 @@
   1.100      incx = (info->src_w << 16) / info->dst_w;
   1.101  
   1.102      while (info->dst_h--) {
   1.103 -        Uint32 *src;
   1.104 +        Uint32 *src = 0;
   1.105          Uint32 *dst = (Uint32 *)info->dst;
   1.106          int n = info->dst_w;
   1.107          srcx = -1;
   1.108 @@ -954,7 +951,7 @@
   1.109      incx = (info->src_w << 16) / info->dst_w;
   1.110  
   1.111      while (info->dst_h--) {
   1.112 -        Uint32 *src;
   1.113 +        Uint32 *src = 0;
   1.114          Uint32 *dst = (Uint32 *)info->dst;
   1.115          int n = info->dst_w;
   1.116          srcx = -1;
   1.117 @@ -1064,7 +1061,7 @@
   1.118      incx = (info->src_w << 16) / info->dst_w;
   1.119  
   1.120      while (info->dst_h--) {
   1.121 -        Uint32 *src;
   1.122 +        Uint32 *src = 0;
   1.123          Uint32 *dst = (Uint32 *)info->dst;
   1.124          int n = info->dst_w;
   1.125          srcx = -1;
   1.126 @@ -1186,7 +1183,7 @@
   1.127      incx = (info->src_w << 16) / info->dst_w;
   1.128  
   1.129      while (info->dst_h--) {
   1.130 -        Uint32 *src;
   1.131 +        Uint32 *src = 0;
   1.132          Uint32 *dst = (Uint32 *)info->dst;
   1.133          int n = info->dst_w;
   1.134          srcx = -1;
   1.135 @@ -1252,7 +1249,6 @@
   1.136  
   1.137  static void SDL_Blit_BGR888_RGB888_Scale(SDL_BlitInfo *info)
   1.138  {
   1.139 -    const int flags = info->flags;
   1.140      Uint32 pixel;
   1.141      Uint32 R, G, B, A;
   1.142      int srcy, srcx;
   1.143 @@ -1265,7 +1261,7 @@
   1.144      incx = (info->src_w << 16) / info->dst_w;
   1.145  
   1.146      while (info->dst_h--) {
   1.147 -        Uint32 *src;
   1.148 +        Uint32 *src = 0;
   1.149          Uint32 *dst = (Uint32 *)info->dst;
   1.150          int n = info->dst_w;
   1.151          srcx = -1;
   1.152 @@ -1363,7 +1359,7 @@
   1.153      incx = (info->src_w << 16) / info->dst_w;
   1.154  
   1.155      while (info->dst_h--) {
   1.156 -        Uint32 *src;
   1.157 +        Uint32 *src = 0;
   1.158          Uint32 *dst = (Uint32 *)info->dst;
   1.159          int n = info->dst_w;
   1.160          srcx = -1;
   1.161 @@ -1473,7 +1469,7 @@
   1.162      incx = (info->src_w << 16) / info->dst_w;
   1.163  
   1.164      while (info->dst_h--) {
   1.165 -        Uint32 *src;
   1.166 +        Uint32 *src = 0;
   1.167          Uint32 *dst = (Uint32 *)info->dst;
   1.168          int n = info->dst_w;
   1.169          srcx = -1;
   1.170 @@ -1595,7 +1591,7 @@
   1.171      incx = (info->src_w << 16) / info->dst_w;
   1.172  
   1.173      while (info->dst_h--) {
   1.174 -        Uint32 *src;
   1.175 +        Uint32 *src = 0;
   1.176          Uint32 *dst = (Uint32 *)info->dst;
   1.177          int n = info->dst_w;
   1.178          srcx = -1;
   1.179 @@ -1661,7 +1657,6 @@
   1.180  
   1.181  static void SDL_Blit_BGR888_BGR888_Scale(SDL_BlitInfo *info)
   1.182  {
   1.183 -    const int flags = info->flags;
   1.184      int srcy, srcx;
   1.185      int posy, posx;
   1.186      int incy, incx;
   1.187 @@ -1672,7 +1667,7 @@
   1.188      incx = (info->src_w << 16) / info->dst_w;
   1.189  
   1.190      while (info->dst_h--) {
   1.191 -        Uint32 *src;
   1.192 +        Uint32 *src = 0;
   1.193          Uint32 *dst = (Uint32 *)info->dst;
   1.194          int n = info->dst_w;
   1.195          srcx = -1;
   1.196 @@ -1767,7 +1762,7 @@
   1.197      incx = (info->src_w << 16) / info->dst_w;
   1.198  
   1.199      while (info->dst_h--) {
   1.200 -        Uint32 *src;
   1.201 +        Uint32 *src = 0;
   1.202          Uint32 *dst = (Uint32 *)info->dst;
   1.203          int n = info->dst_w;
   1.204          srcx = -1;
   1.205 @@ -1877,7 +1872,7 @@
   1.206      incx = (info->src_w << 16) / info->dst_w;
   1.207  
   1.208      while (info->dst_h--) {
   1.209 -        Uint32 *src;
   1.210 +        Uint32 *src = 0;
   1.211          Uint32 *dst = (Uint32 *)info->dst;
   1.212          int n = info->dst_w;
   1.213          srcx = -1;
   1.214 @@ -1999,7 +1994,7 @@
   1.215      incx = (info->src_w << 16) / info->dst_w;
   1.216  
   1.217      while (info->dst_h--) {
   1.218 -        Uint32 *src;
   1.219 +        Uint32 *src = 0;
   1.220          Uint32 *dst = (Uint32 *)info->dst;
   1.221          int n = info->dst_w;
   1.222          srcx = -1;
   1.223 @@ -2065,7 +2060,6 @@
   1.224  
   1.225  static void SDL_Blit_BGR888_ARGB8888_Scale(SDL_BlitInfo *info)
   1.226  {
   1.227 -    const int flags = info->flags;
   1.228      Uint32 pixel;
   1.229      Uint32 R, G, B, A;
   1.230      int srcy, srcx;
   1.231 @@ -2078,7 +2072,7 @@
   1.232      incx = (info->src_w << 16) / info->dst_w;
   1.233  
   1.234      while (info->dst_h--) {
   1.235 -        Uint32 *src;
   1.236 +        Uint32 *src = 0;
   1.237          Uint32 *dst = (Uint32 *)info->dst;
   1.238          int n = info->dst_w;
   1.239          srcx = -1;
   1.240 @@ -2176,7 +2170,7 @@
   1.241      incx = (info->src_w << 16) / info->dst_w;
   1.242  
   1.243      while (info->dst_h--) {
   1.244 -        Uint32 *src;
   1.245 +        Uint32 *src = 0;
   1.246          Uint32 *dst = (Uint32 *)info->dst;
   1.247          int n = info->dst_w;
   1.248          srcx = -1;
   1.249 @@ -2286,7 +2280,7 @@
   1.250      incx = (info->src_w << 16) / info->dst_w;
   1.251  
   1.252      while (info->dst_h--) {
   1.253 -        Uint32 *src;
   1.254 +        Uint32 *src = 0;
   1.255          Uint32 *dst = (Uint32 *)info->dst;
   1.256          int n = info->dst_w;
   1.257          srcx = -1;
   1.258 @@ -2408,7 +2402,7 @@
   1.259      incx = (info->src_w << 16) / info->dst_w;
   1.260  
   1.261      while (info->dst_h--) {
   1.262 -        Uint32 *src;
   1.263 +        Uint32 *src = 0;
   1.264          Uint32 *dst = (Uint32 *)info->dst;
   1.265          int n = info->dst_w;
   1.266          srcx = -1;
   1.267 @@ -2474,7 +2468,6 @@
   1.268  
   1.269  static void SDL_Blit_ARGB8888_RGB888_Scale(SDL_BlitInfo *info)
   1.270  {
   1.271 -    const int flags = info->flags;
   1.272      Uint32 pixel;
   1.273      Uint32 R, G, B, A;
   1.274      int srcy, srcx;
   1.275 @@ -2487,7 +2480,7 @@
   1.276      incx = (info->src_w << 16) / info->dst_w;
   1.277  
   1.278      while (info->dst_h--) {
   1.279 -        Uint32 *src;
   1.280 +        Uint32 *src = 0;
   1.281          Uint32 *dst = (Uint32 *)info->dst;
   1.282          int n = info->dst_w;
   1.283          srcx = -1;
   1.284 @@ -2585,7 +2578,7 @@
   1.285      incx = (info->src_w << 16) / info->dst_w;
   1.286  
   1.287      while (info->dst_h--) {
   1.288 -        Uint32 *src;
   1.289 +        Uint32 *src = 0;
   1.290          Uint32 *dst = (Uint32 *)info->dst;
   1.291          int n = info->dst_w;
   1.292          srcx = -1;
   1.293 @@ -2695,7 +2688,7 @@
   1.294      incx = (info->src_w << 16) / info->dst_w;
   1.295  
   1.296      while (info->dst_h--) {
   1.297 -        Uint32 *src;
   1.298 +        Uint32 *src = 0;
   1.299          Uint32 *dst = (Uint32 *)info->dst;
   1.300          int n = info->dst_w;
   1.301          srcx = -1;
   1.302 @@ -2817,7 +2810,7 @@
   1.303      incx = (info->src_w << 16) / info->dst_w;
   1.304  
   1.305      while (info->dst_h--) {
   1.306 -        Uint32 *src;
   1.307 +        Uint32 *src = 0;
   1.308          Uint32 *dst = (Uint32 *)info->dst;
   1.309          int n = info->dst_w;
   1.310          srcx = -1;
   1.311 @@ -2883,7 +2876,6 @@
   1.312  
   1.313  static void SDL_Blit_ARGB8888_BGR888_Scale(SDL_BlitInfo *info)
   1.314  {
   1.315 -    const int flags = info->flags;
   1.316      Uint32 pixel;
   1.317      Uint32 R, G, B, A;
   1.318      int srcy, srcx;
   1.319 @@ -2896,7 +2888,7 @@
   1.320      incx = (info->src_w << 16) / info->dst_w;
   1.321  
   1.322      while (info->dst_h--) {
   1.323 -        Uint32 *src;
   1.324 +        Uint32 *src = 0;
   1.325          Uint32 *dst = (Uint32 *)info->dst;
   1.326          int n = info->dst_w;
   1.327          srcx = -1;
   1.328 @@ -2994,7 +2986,7 @@
   1.329      incx = (info->src_w << 16) / info->dst_w;
   1.330  
   1.331      while (info->dst_h--) {
   1.332 -        Uint32 *src;
   1.333 +        Uint32 *src = 0;
   1.334          Uint32 *dst = (Uint32 *)info->dst;
   1.335          int n = info->dst_w;
   1.336          srcx = -1;
   1.337 @@ -3104,7 +3096,7 @@
   1.338      incx = (info->src_w << 16) / info->dst_w;
   1.339  
   1.340      while (info->dst_h--) {
   1.341 -        Uint32 *src;
   1.342 +        Uint32 *src = 0;
   1.343          Uint32 *dst = (Uint32 *)info->dst;
   1.344          int n = info->dst_w;
   1.345          srcx = -1;
   1.346 @@ -3226,7 +3218,7 @@
   1.347      incx = (info->src_w << 16) / info->dst_w;
   1.348  
   1.349      while (info->dst_h--) {
   1.350 -        Uint32 *src;
   1.351 +        Uint32 *src = 0;
   1.352          Uint32 *dst = (Uint32 *)info->dst;
   1.353          int n = info->dst_w;
   1.354          srcx = -1;
   1.355 @@ -3292,7 +3284,6 @@
   1.356  
   1.357  static void SDL_Blit_ARGB8888_ARGB8888_Scale(SDL_BlitInfo *info)
   1.358  {
   1.359 -    const int flags = info->flags;
   1.360      int srcy, srcx;
   1.361      int posy, posx;
   1.362      int incy, incx;
   1.363 @@ -3303,7 +3294,7 @@
   1.364      incx = (info->src_w << 16) / info->dst_w;
   1.365  
   1.366      while (info->dst_h--) {
   1.367 -        Uint32 *src;
   1.368 +        Uint32 *src = 0;
   1.369          Uint32 *dst = (Uint32 *)info->dst;
   1.370          int n = info->dst_w;
   1.371          srcx = -1;
   1.372 @@ -3398,7 +3389,7 @@
   1.373      incx = (info->src_w << 16) / info->dst_w;
   1.374  
   1.375      while (info->dst_h--) {
   1.376 -        Uint32 *src;
   1.377 +        Uint32 *src = 0;
   1.378          Uint32 *dst = (Uint32 *)info->dst;
   1.379          int n = info->dst_w;
   1.380          srcx = -1;
   1.381 @@ -3508,7 +3499,7 @@
   1.382      incx = (info->src_w << 16) / info->dst_w;
   1.383  
   1.384      while (info->dst_h--) {
   1.385 -        Uint32 *src;
   1.386 +        Uint32 *src = 0;
   1.387          Uint32 *dst = (Uint32 *)info->dst;
   1.388          int n = info->dst_w;
   1.389          srcx = -1;
   1.390 @@ -3630,7 +3621,7 @@
   1.391      incx = (info->src_w << 16) / info->dst_w;
   1.392  
   1.393      while (info->dst_h--) {
   1.394 -        Uint32 *src;
   1.395 +        Uint32 *src = 0;
   1.396          Uint32 *dst = (Uint32 *)info->dst;
   1.397          int n = info->dst_w;
   1.398          srcx = -1;
   1.399 @@ -3696,7 +3687,6 @@
   1.400  
   1.401  static void SDL_Blit_RGBA8888_RGB888_Scale(SDL_BlitInfo *info)
   1.402  {
   1.403 -    const int flags = info->flags;
   1.404      Uint32 pixel;
   1.405      Uint32 R, G, B, A;
   1.406      int srcy, srcx;
   1.407 @@ -3709,7 +3699,7 @@
   1.408      incx = (info->src_w << 16) / info->dst_w;
   1.409  
   1.410      while (info->dst_h--) {
   1.411 -        Uint32 *src;
   1.412 +        Uint32 *src = 0;
   1.413          Uint32 *dst = (Uint32 *)info->dst;
   1.414          int n = info->dst_w;
   1.415          srcx = -1;
   1.416 @@ -3807,7 +3797,7 @@
   1.417      incx = (info->src_w << 16) / info->dst_w;
   1.418  
   1.419      while (info->dst_h--) {
   1.420 -        Uint32 *src;
   1.421 +        Uint32 *src = 0;
   1.422          Uint32 *dst = (Uint32 *)info->dst;
   1.423          int n = info->dst_w;
   1.424          srcx = -1;
   1.425 @@ -3917,7 +3907,7 @@
   1.426      incx = (info->src_w << 16) / info->dst_w;
   1.427  
   1.428      while (info->dst_h--) {
   1.429 -        Uint32 *src;
   1.430 +        Uint32 *src = 0;
   1.431          Uint32 *dst = (Uint32 *)info->dst;
   1.432          int n = info->dst_w;
   1.433          srcx = -1;
   1.434 @@ -4039,7 +4029,7 @@
   1.435      incx = (info->src_w << 16) / info->dst_w;
   1.436  
   1.437      while (info->dst_h--) {
   1.438 -        Uint32 *src;
   1.439 +        Uint32 *src = 0;
   1.440          Uint32 *dst = (Uint32 *)info->dst;
   1.441          int n = info->dst_w;
   1.442          srcx = -1;
   1.443 @@ -4105,7 +4095,6 @@
   1.444  
   1.445  static void SDL_Blit_RGBA8888_BGR888_Scale(SDL_BlitInfo *info)
   1.446  {
   1.447 -    const int flags = info->flags;
   1.448      Uint32 pixel;
   1.449      Uint32 R, G, B, A;
   1.450      int srcy, srcx;
   1.451 @@ -4118,7 +4107,7 @@
   1.452      incx = (info->src_w << 16) / info->dst_w;
   1.453  
   1.454      while (info->dst_h--) {
   1.455 -        Uint32 *src;
   1.456 +        Uint32 *src = 0;
   1.457          Uint32 *dst = (Uint32 *)info->dst;
   1.458          int n = info->dst_w;
   1.459          srcx = -1;
   1.460 @@ -4216,7 +4205,7 @@
   1.461      incx = (info->src_w << 16) / info->dst_w;
   1.462  
   1.463      while (info->dst_h--) {
   1.464 -        Uint32 *src;
   1.465 +        Uint32 *src = 0;
   1.466          Uint32 *dst = (Uint32 *)info->dst;
   1.467          int n = info->dst_w;
   1.468          srcx = -1;
   1.469 @@ -4326,7 +4315,7 @@
   1.470      incx = (info->src_w << 16) / info->dst_w;
   1.471  
   1.472      while (info->dst_h--) {
   1.473 -        Uint32 *src;
   1.474 +        Uint32 *src = 0;
   1.475          Uint32 *dst = (Uint32 *)info->dst;
   1.476          int n = info->dst_w;
   1.477          srcx = -1;
   1.478 @@ -4448,7 +4437,7 @@
   1.479      incx = (info->src_w << 16) / info->dst_w;
   1.480  
   1.481      while (info->dst_h--) {
   1.482 -        Uint32 *src;
   1.483 +        Uint32 *src = 0;
   1.484          Uint32 *dst = (Uint32 *)info->dst;
   1.485          int n = info->dst_w;
   1.486          srcx = -1;
   1.487 @@ -4514,7 +4503,6 @@
   1.488  
   1.489  static void SDL_Blit_RGBA8888_ARGB8888_Scale(SDL_BlitInfo *info)
   1.490  {
   1.491 -    const int flags = info->flags;
   1.492      Uint32 pixel;
   1.493      Uint32 R, G, B, A;
   1.494      int srcy, srcx;
   1.495 @@ -4527,7 +4515,7 @@
   1.496      incx = (info->src_w << 16) / info->dst_w;
   1.497  
   1.498      while (info->dst_h--) {
   1.499 -        Uint32 *src;
   1.500 +        Uint32 *src = 0;
   1.501          Uint32 *dst = (Uint32 *)info->dst;
   1.502          int n = info->dst_w;
   1.503          srcx = -1;
   1.504 @@ -4625,7 +4613,7 @@
   1.505      incx = (info->src_w << 16) / info->dst_w;
   1.506  
   1.507      while (info->dst_h--) {
   1.508 -        Uint32 *src;
   1.509 +        Uint32 *src = 0;
   1.510          Uint32 *dst = (Uint32 *)info->dst;
   1.511          int n = info->dst_w;
   1.512          srcx = -1;
   1.513 @@ -4735,7 +4723,7 @@
   1.514      incx = (info->src_w << 16) / info->dst_w;
   1.515  
   1.516      while (info->dst_h--) {
   1.517 -        Uint32 *src;
   1.518 +        Uint32 *src = 0;
   1.519          Uint32 *dst = (Uint32 *)info->dst;
   1.520          int n = info->dst_w;
   1.521          srcx = -1;
   1.522 @@ -4857,7 +4845,7 @@
   1.523      incx = (info->src_w << 16) / info->dst_w;
   1.524  
   1.525      while (info->dst_h--) {
   1.526 -        Uint32 *src;
   1.527 +        Uint32 *src = 0;
   1.528          Uint32 *dst = (Uint32 *)info->dst;
   1.529          int n = info->dst_w;
   1.530          srcx = -1;
   1.531 @@ -4923,7 +4911,6 @@
   1.532  
   1.533  static void SDL_Blit_ABGR8888_RGB888_Scale(SDL_BlitInfo *info)
   1.534  {
   1.535 -    const int flags = info->flags;
   1.536      Uint32 pixel;
   1.537      Uint32 R, G, B, A;
   1.538      int srcy, srcx;
   1.539 @@ -4936,7 +4923,7 @@
   1.540      incx = (info->src_w << 16) / info->dst_w;
   1.541  
   1.542      while (info->dst_h--) {
   1.543 -        Uint32 *src;
   1.544 +        Uint32 *src = 0;
   1.545          Uint32 *dst = (Uint32 *)info->dst;
   1.546          int n = info->dst_w;
   1.547          srcx = -1;
   1.548 @@ -5034,7 +5021,7 @@
   1.549      incx = (info->src_w << 16) / info->dst_w;
   1.550  
   1.551      while (info->dst_h--) {
   1.552 -        Uint32 *src;
   1.553 +        Uint32 *src = 0;
   1.554          Uint32 *dst = (Uint32 *)info->dst;
   1.555          int n = info->dst_w;
   1.556          srcx = -1;
   1.557 @@ -5144,7 +5131,7 @@
   1.558      incx = (info->src_w << 16) / info->dst_w;
   1.559  
   1.560      while (info->dst_h--) {
   1.561 -        Uint32 *src;
   1.562 +        Uint32 *src = 0;
   1.563          Uint32 *dst = (Uint32 *)info->dst;
   1.564          int n = info->dst_w;
   1.565          srcx = -1;
   1.566 @@ -5266,7 +5253,7 @@
   1.567      incx = (info->src_w << 16) / info->dst_w;
   1.568  
   1.569      while (info->dst_h--) {
   1.570 -        Uint32 *src;
   1.571 +        Uint32 *src = 0;
   1.572          Uint32 *dst = (Uint32 *)info->dst;
   1.573          int n = info->dst_w;
   1.574          srcx = -1;
   1.575 @@ -5332,7 +5319,6 @@
   1.576  
   1.577  static void SDL_Blit_ABGR8888_BGR888_Scale(SDL_BlitInfo *info)
   1.578  {
   1.579 -    const int flags = info->flags;
   1.580      Uint32 pixel;
   1.581      Uint32 R, G, B, A;
   1.582      int srcy, srcx;
   1.583 @@ -5345,7 +5331,7 @@
   1.584      incx = (info->src_w << 16) / info->dst_w;
   1.585  
   1.586      while (info->dst_h--) {
   1.587 -        Uint32 *src;
   1.588 +        Uint32 *src = 0;
   1.589          Uint32 *dst = (Uint32 *)info->dst;
   1.590          int n = info->dst_w;
   1.591          srcx = -1;
   1.592 @@ -5443,7 +5429,7 @@
   1.593      incx = (info->src_w << 16) / info->dst_w;
   1.594  
   1.595      while (info->dst_h--) {
   1.596 -        Uint32 *src;
   1.597 +        Uint32 *src = 0;
   1.598          Uint32 *dst = (Uint32 *)info->dst;
   1.599          int n = info->dst_w;
   1.600          srcx = -1;
   1.601 @@ -5553,7 +5539,7 @@
   1.602      incx = (info->src_w << 16) / info->dst_w;
   1.603  
   1.604      while (info->dst_h--) {
   1.605 -        Uint32 *src;
   1.606 +        Uint32 *src = 0;
   1.607          Uint32 *dst = (Uint32 *)info->dst;
   1.608          int n = info->dst_w;
   1.609          srcx = -1;
   1.610 @@ -5675,7 +5661,7 @@
   1.611      incx = (info->src_w << 16) / info->dst_w;
   1.612  
   1.613      while (info->dst_h--) {
   1.614 -        Uint32 *src;
   1.615 +        Uint32 *src = 0;
   1.616          Uint32 *dst = (Uint32 *)info->dst;
   1.617          int n = info->dst_w;
   1.618          srcx = -1;
   1.619 @@ -5741,7 +5727,6 @@
   1.620  
   1.621  static void SDL_Blit_ABGR8888_ARGB8888_Scale(SDL_BlitInfo *info)
   1.622  {
   1.623 -    const int flags = info->flags;
   1.624      Uint32 pixel;
   1.625      Uint32 R, G, B, A;
   1.626      int srcy, srcx;
   1.627 @@ -5754,7 +5739,7 @@
   1.628      incx = (info->src_w << 16) / info->dst_w;
   1.629  
   1.630      while (info->dst_h--) {
   1.631 -        Uint32 *src;
   1.632 +        Uint32 *src = 0;
   1.633          Uint32 *dst = (Uint32 *)info->dst;
   1.634          int n = info->dst_w;
   1.635          srcx = -1;
   1.636 @@ -5852,7 +5837,7 @@
   1.637      incx = (info->src_w << 16) / info->dst_w;
   1.638  
   1.639      while (info->dst_h--) {
   1.640 -        Uint32 *src;
   1.641 +        Uint32 *src = 0;
   1.642          Uint32 *dst = (Uint32 *)info->dst;
   1.643          int n = info->dst_w;
   1.644          srcx = -1;
   1.645 @@ -5962,7 +5947,7 @@
   1.646      incx = (info->src_w << 16) / info->dst_w;
   1.647  
   1.648      while (info->dst_h--) {
   1.649 -        Uint32 *src;
   1.650 +        Uint32 *src = 0;
   1.651          Uint32 *dst = (Uint32 *)info->dst;
   1.652          int n = info->dst_w;
   1.653          srcx = -1;
   1.654 @@ -6084,7 +6069,7 @@
   1.655      incx = (info->src_w << 16) / info->dst_w;
   1.656  
   1.657      while (info->dst_h--) {
   1.658 -        Uint32 *src;
   1.659 +        Uint32 *src = 0;
   1.660          Uint32 *dst = (Uint32 *)info->dst;
   1.661          int n = info->dst_w;
   1.662          srcx = -1;
   1.663 @@ -6150,7 +6135,6 @@
   1.664  
   1.665  static void SDL_Blit_BGRA8888_RGB888_Scale(SDL_BlitInfo *info)
   1.666  {
   1.667 -    const int flags = info->flags;
   1.668      Uint32 pixel;
   1.669      Uint32 R, G, B, A;
   1.670      int srcy, srcx;
   1.671 @@ -6163,7 +6147,7 @@
   1.672      incx = (info->src_w << 16) / info->dst_w;
   1.673  
   1.674      while (info->dst_h--) {
   1.675 -        Uint32 *src;
   1.676 +        Uint32 *src = 0;
   1.677          Uint32 *dst = (Uint32 *)info->dst;
   1.678          int n = info->dst_w;
   1.679          srcx = -1;
   1.680 @@ -6261,7 +6245,7 @@
   1.681      incx = (info->src_w << 16) / info->dst_w;
   1.682  
   1.683      while (info->dst_h--) {
   1.684 -        Uint32 *src;
   1.685 +        Uint32 *src = 0;
   1.686          Uint32 *dst = (Uint32 *)info->dst;
   1.687          int n = info->dst_w;
   1.688          srcx = -1;
   1.689 @@ -6371,7 +6355,7 @@
   1.690      incx = (info->src_w << 16) / info->dst_w;
   1.691  
   1.692      while (info->dst_h--) {
   1.693 -        Uint32 *src;
   1.694 +        Uint32 *src = 0;
   1.695          Uint32 *dst = (Uint32 *)info->dst;
   1.696          int n = info->dst_w;
   1.697          srcx = -1;
   1.698 @@ -6493,7 +6477,7 @@
   1.699      incx = (info->src_w << 16) / info->dst_w;
   1.700  
   1.701      while (info->dst_h--) {
   1.702 -        Uint32 *src;
   1.703 +        Uint32 *src = 0;
   1.704          Uint32 *dst = (Uint32 *)info->dst;
   1.705          int n = info->dst_w;
   1.706          srcx = -1;
   1.707 @@ -6559,7 +6543,6 @@
   1.708  
   1.709  static void SDL_Blit_BGRA8888_BGR888_Scale(SDL_BlitInfo *info)
   1.710  {
   1.711 -    const int flags = info->flags;
   1.712      Uint32 pixel;
   1.713      Uint32 R, G, B, A;
   1.714      int srcy, srcx;
   1.715 @@ -6572,7 +6555,7 @@
   1.716      incx = (info->src_w << 16) / info->dst_w;
   1.717  
   1.718      while (info->dst_h--) {
   1.719 -        Uint32 *src;
   1.720 +        Uint32 *src = 0;
   1.721          Uint32 *dst = (Uint32 *)info->dst;
   1.722          int n = info->dst_w;
   1.723          srcx = -1;
   1.724 @@ -6670,7 +6653,7 @@
   1.725      incx = (info->src_w << 16) / info->dst_w;
   1.726  
   1.727      while (info->dst_h--) {
   1.728 -        Uint32 *src;
   1.729 +        Uint32 *src = 0;
   1.730          Uint32 *dst = (Uint32 *)info->dst;
   1.731          int n = info->dst_w;
   1.732          srcx = -1;
   1.733 @@ -6780,7 +6763,7 @@
   1.734      incx = (info->src_w << 16) / info->dst_w;
   1.735  
   1.736      while (info->dst_h--) {
   1.737 -        Uint32 *src;
   1.738 +        Uint32 *src = 0;
   1.739          Uint32 *dst = (Uint32 *)info->dst;
   1.740          int n = info->dst_w;
   1.741          srcx = -1;
   1.742 @@ -6902,7 +6885,7 @@
   1.743      incx = (info->src_w << 16) / info->dst_w;
   1.744  
   1.745      while (info->dst_h--) {
   1.746 -        Uint32 *src;
   1.747 +        Uint32 *src = 0;
   1.748          Uint32 *dst = (Uint32 *)info->dst;
   1.749          int n = info->dst_w;
   1.750          srcx = -1;
   1.751 @@ -6968,7 +6951,6 @@
   1.752  
   1.753  static void SDL_Blit_BGRA8888_ARGB8888_Scale(SDL_BlitInfo *info)
   1.754  {
   1.755 -    const int flags = info->flags;
   1.756      Uint32 pixel;
   1.757      Uint32 R, G, B, A;
   1.758      int srcy, srcx;
   1.759 @@ -6981,7 +6963,7 @@
   1.760      incx = (info->src_w << 16) / info->dst_w;
   1.761  
   1.762      while (info->dst_h--) {
   1.763 -        Uint32 *src;
   1.764 +        Uint32 *src = 0;
   1.765          Uint32 *dst = (Uint32 *)info->dst;
   1.766          int n = info->dst_w;
   1.767          srcx = -1;
   1.768 @@ -7079,7 +7061,7 @@
   1.769      incx = (info->src_w << 16) / info->dst_w;
   1.770  
   1.771      while (info->dst_h--) {
   1.772 -        Uint32 *src;
   1.773 +        Uint32 *src = 0;
   1.774          Uint32 *dst = (Uint32 *)info->dst;
   1.775          int n = info->dst_w;
   1.776          srcx = -1;
   1.777 @@ -7189,7 +7171,7 @@
   1.778      incx = (info->src_w << 16) / info->dst_w;
   1.779  
   1.780      while (info->dst_h--) {
   1.781 -        Uint32 *src;
   1.782 +        Uint32 *src = 0;
   1.783          Uint32 *dst = (Uint32 *)info->dst;
   1.784          int n = info->dst_w;
   1.785          srcx = -1;
   1.786 @@ -7311,7 +7293,7 @@
   1.787      incx = (info->src_w << 16) / info->dst_w;
   1.788  
   1.789      while (info->dst_h--) {
   1.790 -        Uint32 *src;
   1.791 +        Uint32 *src = 0;
   1.792          Uint32 *dst = (Uint32 *)info->dst;
   1.793          int n = info->dst_w;
   1.794          srcx = -1;