Simple Directmedia Layer

Remove some extra semicolons

authored by Petar Popovic and committed by Ozkan Sezer 457d0ede 345cae36

Changed files
+7 -7
src
audio
hidapi
libusb
linux
render
video
+1 -1
src/audio/SDL_audio.c
··· 1588 1588 } 1589 1589 1590 1590 if (spec->channels == 0) { 1591 - spec->channels = recording ? DEFAULT_AUDIO_RECORDING_CHANNELS : DEFAULT_AUDIO_PLAYBACK_CHANNELS;; 1591 + spec->channels = recording ? DEFAULT_AUDIO_RECORDING_CHANNELS : DEFAULT_AUDIO_PLAYBACK_CHANNELS; 1592 1592 1593 1593 const char *hint = SDL_GetHint(SDL_HINT_AUDIO_CHANNELS); 1594 1594 if (hint) {
+1 -1
src/hidapi/libusb/hid.c
··· 250 250 /* Can't ever happen since size_code is & 0x3 */ 251 251 data_len = 0; 252 252 break; 253 - }; 253 + } 254 254 key_size = 1; 255 255 } 256 256
+1 -1
src/hidapi/linux/hid.c
··· 252 252 *data_len = 0; 253 253 *key_size = 0; 254 254 break; 255 - }; 255 + } 256 256 257 257 /* malformed report */ 258 258 return 0;
+1 -1
src/render/vulkan/SDL_render_vulkan.c
··· 688 688 if (!VULKAN_FindMemoryTypeIndex(rendererData, memoryRequirements.memoryTypeBits, requiredMemoryProps, desiredMemoryProps, &memoryTypeIndex)) { 689 689 VULKAN_DestroyBuffer(rendererData, bufferOut); 690 690 SDL_LogError(SDL_LOG_CATEGORY_RENDER, "VULKAN_FindMemoryTypeIndex failed.\n"); 691 - return VK_ERROR_UNKNOWN;; 691 + return VK_ERROR_UNKNOWN; 692 692 } 693 693 694 694 VkMemoryAllocateInfo memoryAllocateInfo = { 0 };
+3 -3
src/video/SDL_video.c
··· 5048 5048 *interval = 0; 5049 5049 5050 5050 if (!_this) { 5051 - return SDL_SetError("no video driver");; 5051 + return SDL_SetError("no video driver"); 5052 5052 } else if (SDL_GL_GetCurrentContext() == NULL) { 5053 - return SDL_SetError("no current context");; 5053 + return SDL_SetError("no current context"); 5054 5054 } else if (_this->GL_GetSwapInterval) { 5055 5055 return _this->GL_GetSwapInterval(_this, interval); 5056 5056 } else { 5057 - return SDL_SetError("not implemented");; 5057 + return SDL_SetError("not implemented"); 5058 5058 } 5059 5059 } 5060 5060