mirror of
https://github.com/encounter/SDL.git
synced 2025-12-16 16:37:09 +00:00
Readability: remove redundant return, continue, enum declaration
This commit is contained in:
@@ -2317,7 +2317,6 @@ get_permutation(SDL_PixelFormat *srcfmt, SDL_PixelFormat *dstfmt,
|
||||
if (_alpha_channel) {
|
||||
*_alpha_channel = alpha_channel;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -3109,7 +3108,6 @@ Blit_3or4_to_3or4__same_rgb(SDL_BlitInfo * info)
|
||||
dst += dstskip;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/* Blit_3or4_to_3or4__inversed_rgb: 3 or 4 bpp, inversed RGB triplet */
|
||||
@@ -3214,7 +3212,6 @@ Blit_3or4_to_3or4__inversed_rgb(SDL_BlitInfo * info)
|
||||
dst += dstskip;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/* Normal N to N optimized blitters */
|
||||
|
||||
@@ -192,7 +192,6 @@ WL_EXPORT const struct wl_interface qt_windowmanager_interface = {
|
||||
/* wayland-qt-windowmanager.c ENDS */
|
||||
|
||||
/* wayland-qt-surface-extension.c BEGINS */
|
||||
extern const struct wl_interface qt_extended_surface_interface;
|
||||
#ifndef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC
|
||||
extern const struct wl_interface wl_surface_interface;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user