Skip to content

Commit

Permalink
Fix a couple of warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
gabomdq committed Aug 21, 2013
1 parent 5f8de2b commit 6107705
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/video/SDL_fillrect.c
Expand Up @@ -274,7 +274,7 @@ static void
SDL_FillRect2(Uint8 * pixels, int pitch, Uint32 color, int w, int h)
{
int n;
Uint8 *p = NULL;
Uint16 *p = NULL;

while (h--) {
n = w;
Expand Down
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11shape.c
Expand Up @@ -90,7 +90,7 @@ int
X11_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode) {
SDL_ShapeData *data = NULL;
SDL_WindowData *windowdata = NULL;
Pixmap shapemask = NULL;
Pixmap shapemask;

if(shaper == NULL || shape == NULL || shaper->driverdata == NULL)
return -1;
Expand Down

0 comments on commit 6107705

Please sign in to comment.