mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
intel: Silence valgrind warning for getparam ioctl argument.
It was concerned that the 4 pad bytes on LP64 were uninitialized.
This commit is contained in:
parent
5a7942c2f1
commit
f33d100fa7
1 changed files with 1 additions and 0 deletions
|
|
@ -361,6 +361,7 @@ intel_get_param(__DRIscreen *psp, int param, int *value)
|
|||
int ret;
|
||||
struct drm_i915_getparam gp;
|
||||
|
||||
memset(&gp, 0, sizeof(gp));
|
||||
gp.param = param;
|
||||
gp.value = value;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue