i915g: Handle i915->batch == NULL correctly in flush
authorStéphane Marchesin <marcheu@chromium.org>
Fri, 6 Sep 2013 17:55:16 +0000 (10:55 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Fri, 6 Sep 2013 18:05:24 +0000 (11:05 -0700)
commit519a2cf9507275d4a3e9926072b07a3f98f0095a
tree0ce9bc8cbab83f12c3de296297a123258088648d
parent9e14895884b129fd9e144970e705b8cb5a5f70c4
i915g: Handle i915->batch == NULL correctly in flush

Fixes warning reported by Coverity.
src/gallium/drivers/i915/i915_flush.c