Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f12310d authored by Aalique Grahame's avatar Aalique Grahame Committed by Aniket Kumar Lata
Browse files

hal: initialize variables

Initialize variables to prevent uninitialized use.

CRs-Fixed: 2125795
Change-Id: Idd1c1a1f20b360e5f73e41f36bcf91faf40520af
parent 8c650932
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4609,8 +4609,8 @@ static int out_create_mmap_buffer(const struct audio_stream_out *stream,
    struct stream_out *out = (struct stream_out *)stream;
    struct audio_device *adev = out->dev;
    int ret = 0;
    unsigned int offset1;
    unsigned int frames1;
    unsigned int offset1 = 0;
    unsigned int frames1 = 0;
    const char *step = "";
    uint32_t mmap_size;