comparison src/video/SDL_surface.c @ 4461:39c22a953456 pre-touch-removal

Make the compiler even happier
author Sam Lantinga <slouken@libsdl.org>
date Sun, 09 May 2010 16:16:11 -0700
parents f7b03b6838cb
children 2cd7bb613a83
comparison
equal deleted inserted replaced
4460:363604b42e84 4461:39c22a953456
40 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) 40 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask)
41 { 41 {
42 SDL_Surface *surface; 42 SDL_Surface *surface;
43 43
44 /* The flags are no longer used, make the compiler happy */ 44 /* The flags are no longer used, make the compiler happy */
45 flags; 45 (void)flags;
46 46
47 /* Allocate the surface */ 47 /* Allocate the surface */
48 surface = (SDL_Surface *) SDL_calloc(1, sizeof(*surface)); 48 surface = (SDL_Surface *) SDL_calloc(1, sizeof(*surface));
49 if (surface == NULL) { 49 if (surface == NULL) {
50 SDL_OutOfMemory(); 50 SDL_OutOfMemory();