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

Commit 2bc967a9 authored by sadiqsada's avatar sadiqsada
Browse files

Initialize mFp file pointer to null

Bug: 288170590
Test: atest VtsHalTvTunerTargetTest
Change-Id: Ia1d78e42094073c6cfc7e4e00d65a540d148f02e
parent 0f6eb0b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ class IpStreamer {

  private:
    int mSockfd = -1;
    FILE* mFp;
    FILE* mFp = nullptr;
    bool mIsIpV4 = true;                                         // By default, set to IPV4
    int mPort = 12345;                                           // default port
    int mBufferSize = 188;                                       // bytes