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

Commit 9696b027 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix clang static analyzer warnings."

parents 6f2e6b25 33587d19
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);