commit | f60b6b6c776a762827874f6f635c0577359a7ee4 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Mon Jul 06 10:53:26 2015 -0700 |
committer | Glenn Kasten <gkasten@google.com> | Mon Jul 06 10:53:26 2015 -0700 |
tree | 3eb0c3ebd27e46c40c082669e1633da4eee092e2 | |
parent | 16f0c6b8146b2a993d9fe9c9076c73d39aaee81c [diff] [blame] |
Fix build warning Change-Id: I876edc37fb2093ee13c876c2af5c46512763154d
diff --git a/services/audiopolicy/service/AudioPolicyService.cpp b/services/audiopolicy/service/AudioPolicyService.cpp index fbe4f18..eefff3d 100644 --- a/services/audiopolicy/service/AudioPolicyService.cpp +++ b/services/audiopolicy/service/AudioPolicyService.cpp
@@ -930,6 +930,7 @@ patch2 = ((CreateAudioPatchData *)command2->mParam.get())->mPatch; } else { handle2 = ((ReleaseAudioPatchData *)command2->mParam.get())->mHandle; + memset(&patch2, 0, sizeof(patch2)); } if (handle != handle2) break; /* Filter CREATE_AUDIO_PATCH commands only when they are issued for