summaryrefslogtreecommitdiff
path: root/dahdi_maint.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-11-02 21:57:25 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-11-02 21:57:25 +0000
commit0ef23bf738830c2d72ce6fcbb3ede14f90a5b839 (patch)
tree871426f67570f9c100f2e4dda904a01e013bf61d /dahdi_maint.c
parent958e1ff6b7b7779ea5ee6c06fe43a055d28cd07e (diff)
Fix GCC 4.6 "set but not used" warnings
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@10311 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'dahdi_maint.c')
-rw-r--r--dahdi_maint.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dahdi_maint.c b/dahdi_maint.c
index 9ee4133..6777510 100644
--- a/dahdi_maint.c
+++ b/dahdi_maint.c
@@ -81,7 +81,6 @@ int main(int argc, char *argv[])
int doloopback = 0;
char *larg = NULL;
- int sflag = 0;
int span = 1;
int iflag = 0;
char *iarg = NULL;
@@ -118,7 +117,6 @@ int main(int argc, char *argv[])
break;
case 's': /* specify a span */
span = atoi(optarg);
- sflag = 1;
break;
case 'i': /* insert an error */
iarg = optarg;