Fix cert-dcl16-c clang-tidy warnings in audioflinger.

Bug: 120614316
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,cert-dcl16-c
Change-Id: I39f164a4204043042db383ce10ded542437f8447
gugelfrei
Chih-Hung Hsieh 6 years ago
parent 14c577fac8
commit 3e330f09d7

@ -115,7 +115,7 @@ BufLogStream::BufLogStream(unsigned int id,
unsigned int samplingRate,
size_t maxBytes = 0) : mId(id), mFormat(format), mChannels(channels),
mSamplingRate(samplingRate), mMaxBytes(maxBytes) {
mByteCount = 0l;
mByteCount = 0;
mPaused = false;
if (tag != NULL) {
(void)audio_utils_strlcpy(mTag, tag);

Loading…
Cancel
Save