In C-like languages I generally prefer to see:
int has = SDL_PollEvent(&event_buffer[num]);
if (!has) ...
to if (SDL_PollEvent(&event_buffer[num])) ...
because it generally makes inspecting the return value of the function, in this case SDL_PollEvent, easier to inspect in a debugger.Particularly handy in the Visual Studio debugger when working with C#.