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

Commit 9f6dcf33 authored by Manoj Gupta's avatar Manoj Gupta Committed by android-build-merger
Browse files

Merge "Fix clang static analyzer warnings."

am: 9696b027

Change-Id: Ic5c704bd3cd4d9d9d75c18283ae39d3903a4fa5a
parents dbd85bca 9696b027
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);