WinRT: Removed not needed SDL_zerop() after SDL_calloc().
authorPhilipp Wiesemann
Wed, 03 Aug 2016 22:32:02 +0200
changeset 10214efff2efeb166
parent 10213 f97a7faf0b58
child 10215 724516f210e6
WinRT: Removed not needed SDL_zerop() after SDL_calloc().

SDL_calloc() already sets memory to zero.
src/video/winrt/SDL_winrtvideo.cpp
     1.1 --- a/src/video/winrt/SDL_winrtvideo.cpp	Wed Aug 03 22:30:31 2016 +0200
     1.2 +++ b/src/video/winrt/SDL_winrtvideo.cpp	Wed Aug 03 22:32:02 2016 +0200
     1.3 @@ -127,7 +127,6 @@
     1.4          SDL_free(device);
     1.5          return (0);
     1.6      }
     1.7 -    SDL_zerop(data);
     1.8      device->driverdata = data;
     1.9  
    1.10      /* Set the function pointers */