ERROR: ERROR: NumPoints = 0

In using SDL 2 to get touch events on iOS i’m sometimes getting the following message when I touch the screen: ERROR: ERROR: NumPoints = 0

Here is the relevant code:

Code:

SDL_LogSetAllPriority(SDL_LOG_PRIORITY_WARN);
while (true) {
while (SDL_PollEvent(&event)) {
if (event.type == SDL_FINGERDOWN) doStuff(event.tfinger);
if (event.type == SDL_FINGERUP) doStuff(event.tfinger);
if (event.type == SDL_FINGERMOTION) doStuff(event.tfinger);
}
//…
}

It seems like everything is working properly but i’m still interested in knowing why i’m getting this message. Thanks.