changeset 26387:80e98774b2b0 stable

audioread.cc: Fix static analyzer detected issues (bug #55347). * audioread.cc (Faudioread): Delete duplicate assignment to info.channels.
author Rik <rik@octave.org>
date Wed, 02 Jan 2019 17:19:29 -0800
parents bdcb5c1aaf4f
children a480ccada034
files libinterp/dldfcn/audioread.cc
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/dldfcn/audioread.cc	Wed Jan 02 17:14:40 2019 -0800
+++ b/libinterp/dldfcn/audioread.cc	Wed Jan 02 17:19:29 2019 -0800
@@ -346,7 +346,6 @@
 
   info.channels = audio.columns ();
   info.samplerate = samplerate;
-  info.channels = audio.cols ();
   info.format |= extension_to_format (ext);
 
   std::string title = "";