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

Commit 2c6162a2 authored by Manoj Gupta's avatar Manoj Gupta Committed by android-build-merger
Browse files

Merge "Fix clang static analyzer warnings." am: 9696b027 am: 9f6dcf33 am: bf78bff3

am: f43c5e85

Change-Id: I3c3880dc13346d42dcacd92f0645450ff0ca0cc8
parents f226672f f43c5e85
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1015,6 +1015,7 @@ MtpResponseCode MtpServer::doSendObject() {
    mode_t mask;
    int ret, initialData;
    bool isCanceled = false;
    struct stat sstat = {};

    auto start = std::chrono::steady_clock::now();

@@ -1071,7 +1072,6 @@ MtpResponseCode MtpServer::doSendObject() {
            }
        }
    }
    struct stat sstat;
    fstat(mfr.fd, &sstat);
    close(mfr.fd);