`if`, `for`, `while` and `case` must be spaced from `(`.

The correct form would be: `if (m_resultset == NULL) {`.