changeset 23282:42ee8df62dfd

Fix typo in 9a0e33470da5 preventing audiodevinfo from working. * audiodevinfo.cc (Faudiodevinfo): Remove duplicate "num_devices = 0;".
author Rik <rik@octave.org>
date Wed, 15 Mar 2017 16:14:35 -0700
parents 3cbd3caf19a7
children e2ed4c95d688
files libinterp/dldfcn/audiodevinfo.cc
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/dldfcn/audiodevinfo.cc	Wed Mar 15 21:48:45 2017 +0100
+++ b/libinterp/dldfcn/audiodevinfo.cc	Wed Mar 15 16:14:35 2017 -0700
@@ -125,7 +125,6 @@
 
   if (num_devices < 0)
     num_devices = 0;
-  num_devices = 0;
 
   octave_idx_type numinput = 0, numoutput = 0;
   for (int i = 0; i < num_devices; i++)