[Pkg-wmaker-commits] [wmppp.app] 21/120: debian/patches/get_number_from_getmodemspeed.patch: Edit to avoid unused variable compiler warning.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 27 12:04:31 UTC 2015


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

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

commit 7ce5ada955088fbf1f3177bc40728683794f8bcc
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sat Sep 13 16:39:49 2014 -0500

    debian/patches/get_number_from_getmodemspeed.patch: Edit to avoid unused
    variable compiler warning.
---
 debian/patches/get_number_from_getmodemspeed.patch | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/debian/patches/get_number_from_getmodemspeed.patch b/debian/patches/get_number_from_getmodemspeed.patch
index ad9a7d4..cf0a2f5 100644
--- a/debian/patches/get_number_from_getmodemspeed.patch
+++ b/debian/patches/get_number_from_getmodemspeed.patch
@@ -4,12 +4,23 @@ Description: Get number from getmodemspeed.
  Patched wmppp/wmppp.c to expect a NUMBER from getmodemspeed, and not the
  whole connect line.
  .
- Converted to quilt for version 1.3.0+20120605-1.
+ Converted to quilt for version 1.3.0+20120605-1.  Also commented out
+ declaration of p to avoid unused variable compiler warning.
 Author: Marcelo E. Magallon <mmagallo at debian.org>
-Last-Update: 2014-09-11
+Author: Doug Torrance <dtorrance at monmouthcollege.edu>
+Last-Update: 2014-09-13
 
 --- a/wmppp/wmppp.c
 +++ b/wmppp/wmppp.c
+@@ -778,7 +778,7 @@
+ 
+ 	int		linespeed, i, k;
+ 	FILE	*fp;
+-	char	*p;
++//	char	*p;
+ 	char	temp[128];
+ 
+ 	fp = popen(speed_action, "r");
 @@ -791,9 +791,12 @@
  
  		pclose(fp);

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



More information about the Pkg-wmaker-commits mailing list