diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2012-04-02 18:08:29 +0200 |
---|---|---|
committer | Rob Clark <rob@ti.com> | 2012-04-03 16:47:48 -0500 |
commit | e98ed38ca9c9328f88e0b2fab376020049e4a7fb (patch) | |
tree | 20477007c1d10ae776e58db673d00f837b172698 /include/drm/i915_drm.h | |
parent | 06eaf09469f2234bf1ca9790dad2ba391ccceb5a (diff) |
omap: fix compiler warning
When compiling with linaro toolchain version 4.6.2 got this warning.
CC omap_drm.lo
omap_drm.c: In function 'omap_bo_new_impl':
omap_drm.c:139:6: warning: 'bo' may be used uninitialized in this function [-Wuninitialized]
This patch initialize bo to NULL avoiding the warning.
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Signed-off-by: Rob Clark <rob@ti.com>
Diffstat (limited to 'include/drm/i915_drm.h')
0 files changed, 0 insertions, 0 deletions