mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 07:00:11 +01:00
intel: Only define variable when it's used.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@ubuntu.com>
This commit is contained in:
parent
87fdd32c87
commit
63d6d7736c
1 changed files with 4 additions and 1 deletions
|
|
@ -91,7 +91,10 @@ compare_batch(struct drm_intel_decode *ctx, const char *batch_filename)
|
|||
{
|
||||
FILE *out = NULL;
|
||||
void *ptr, *ref_ptr, *batch_ptr;
|
||||
size_t size, ref_size, batch_size;
|
||||
#ifdef HAVE_OPEN_MEMSTREAM
|
||||
size_t size;
|
||||
#endif
|
||||
size_t ref_size, batch_size;
|
||||
const char *ref_suffix = "-ref.txt";
|
||||
char *ref_filename;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue