Thomas Wood e9ed1a37fc tests/kms_fbc_crc: ensure context is initialized correctly
Initialization was included in commit a976d7e (tests/kms_fbc_crc:
refactor context handling code), but won't be executed since it is
declared before the first label within a switch statement.

kms_fbc_crc.c:178:2: warning: ‘context’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  rendercopy(batch, context,
  ^
kms_fbc_crc.c:271:22: note: ‘context’ was declared here
   drm_intel_context *context = NULL;

                      ^
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2015-11-11 14:20:56 +00:00
..
2014-12-10 17:11:35 +00:00
2014-12-10 17:11:35 +00:00
2012-04-10 16:23:18 +02:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-09-24 14:24:18 +01:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-11-03 19:46:11 +00:00
2015-08-21 09:37:10 +01:00
2012-01-15 16:05:43 +01:00