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

Commit 1759bb55 authored by Colin Cross's avatar Colin Cross
Browse files

Fix non-trivial warnings hidden by -isystem

These warnings were hidden by -isystem.

Bug: 31751828
Test: m -j checkbuild
Change-Id: Ibb1aa07a6827fcbd29fc15291fcd90280c0f608d
Merged-In: Ibb1aa07a6827fcbd29fc15291fcd90280c0f608d
(cherry picked from commit 6f51c153)
parent 5d4a63d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -278,7 +278,7 @@ public:
            if (res != NO_ERROR) {
                return res;
            }
            if (i > 0 && !(x > lastx) /* handle nan */
            if ((i > 0 && !(x > lastx)) /* handle nan */
                    || y != y /* handle nan */) {
                // This is a std::map object which imposes sorted order
                // automatically on emplace.
+0 −1
Original line number Diff line number Diff line
@@ -79,7 +79,6 @@ private:

            Mutex                   mLock;
            sp<IRadio>              mIRadio;
            const radio_handle_t    mHandle;
            sp<RadioCallback>       mCallback;
};

+0 −1
Original line number Diff line number Diff line
@@ -72,7 +72,6 @@ private:

            Mutex                               mLock;
            sp<ISoundTrigger>                   mISoundTrigger;
            const sound_trigger_module_handle_t mModule;
            sp<SoundTriggerCallback>            mCallback;
};

+0 −1
Original line number Diff line number Diff line
@@ -957,7 +957,6 @@ NBLog::FormatEntry::iterator NBLog::Reader::handleFormat(const FormatEntry &fmtE
// ---------------------------------------------------------------------------

NBLog::Merger::Merger(const void *shared, size_t size):
      mBuffer(NULL),
      mShared((Shared *) shared),
      mFifo(mShared != NULL ?
        new audio_utils_fifo(size, sizeof(uint8_t),
+1 −1
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@ public:
    class iterator;
    explicit FormatEntry(const uint8_t *entry);
    explicit FormatEntry(const iterator &it);
    virtual ~FormatEntry() {}

    // entry representation in memory
    struct entry {
@@ -422,7 +423,6 @@ private:
    // vector of the readers the merger is supposed to merge from.
    // every reader reads from a writer's buffer
    std::vector<NamedReader> mNamedReaders;
    uint8_t *mBuffer;
    Shared * const mShared;
    std::unique_ptr<audio_utils_fifo> mFifo;
    std::unique_ptr<audio_utils_fifo_writer> mFifoWriter;
Loading