[Pkg-wmaker-commits] [wmrack] 16/97: remove unused variable

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Aug 22 02:41:59 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmrack.

commit 0d9eceba5645fc85188879edb50efcad4eb52484
Author: Chris Waters <xtifr.w at gmail.com>
Date:   Thu Mar 8 17:00:34 2012 -0800

    remove unused variable
---
 mixer.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/mixer.c b/mixer.c
index a6f99b1..161f6ac 100644
--- a/mixer.c
+++ b/mixer.c
@@ -1,5 +1,5 @@
 /*
- * $Id: mixer.c,v 1.1.1.1.2.1 2003/09/30 01:56:55 xtifr Exp $
+ * $Id: mixer.c,v 1.1.1.1.2.2 2003/10/01 20:47:11 xtifr Exp $
  *
  * mixer utility functions for WMRack
  *
@@ -103,8 +103,6 @@ int mixer_getinfo(MIXER *mix)
  */
 int mixer_readvol(MIXER *mix, int dev)
 {
-  int i;
-
   if (!mix || mix->fd==0)
     return -1;
 
@@ -122,7 +120,7 @@ int mixer_readvol(MIXER *mix, int dev)
 	  return 1;
     }
   else
-    mix->cur_vol[i]=-1;
+    return -1;
 
   return 0;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmrack.git



More information about the Pkg-wmaker-commits mailing list