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

Commit b8c35f94 authored by Colin Cross's avatar Colin Cross
Browse files

Fix trivial warnings hidden by -isystem

Fix the trivial warnings that are hidden by the use of -isystem to
include frameworks/av and caught by -Werror.

Test: m -j checkbuild
Bug: 31751828
Change-Id: I155f9f772ce0a84b364313814cb7cf528b9de4eb
parent 6f51c153
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ static void dumpSource(const sp<IMediaSource> &source, const String8 &filename)
                       1,
                       mbuf->range_length(),
                       out),
                (ssize_t)mbuf->range_length());
                mbuf->range_length());

        mbuf->release();
        mbuf = NULL;
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ class ICasListener;
using namespace media;
using namespace MediaCas;
using binder::Status;
class CasPlugin;
struct CasPlugin;
class SharedLibrary;

class CasImpl : public BnCas {
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ namespace android {
using namespace media;
using namespace MediaDescrambler;
using binder::Status;
class DescramblerPlugin;
struct DescramblerPlugin;
class SharedLibrary;

class DescramblerImpl : public BnDescrambler {
+6 −9
Original line number Diff line number Diff line
@@ -32,11 +32,8 @@
#define LOG_TAG "VolumeShaper"

// turn on VolumeShaper logging
#if 0
#define VS_LOG ALOGD
#else
#define VS_LOG(...)
#endif
#define VS_LOGGING 0
#define VS_LOG(...) ALOGD_IF(VS_LOGGING, __VA_ARGS__)

namespace android {

@@ -90,17 +87,17 @@ public:
        Configuration()
            : Interpolator<S, T>()
            , mType(TYPE_SCALE)
            , mId(-1)
            , mOptionFlags(OPTION_FLAG_NONE)
            , mDurationMs(1000.)
            , mId(-1) {
            , mDurationMs(1000.) {
        }

        explicit Configuration(const Configuration &configuration)
            : Interpolator<S, T>(*static_cast<const Interpolator<S, T> *>(&configuration))
            , mType(configuration.mType)
            , mId(configuration.mId)
            , mOptionFlags(configuration.mOptionFlags)
            , mDurationMs(configuration.mDurationMs)
            , mId(configuration.mId) {
            , mDurationMs(configuration.mDurationMs) {
        }

        Type getType() const {
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ private:
                // client write-only, server read-only
                uint16_t    mSendLevel;      // Fixed point U4.12 so 0x1000 means 1.0

                uint16_t    mPad2;           // unused
                uint16_t    mPad2 __attribute__((__unused__)); // unused

                // server write-only, client read
                ExtendedTimestampQueue::Shared mExtendedTimestampQueue;
Loading