aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-09-09 19:46:02 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-09-09 19:46:02 +0000
commitcc39b0898ca6dfe911c25bf086762136a3d8786f (patch)
tree74cfa1ac46305414629d52edef3730870355596f /editcap.c
parentfe4fc3cf5182952e6dd0bcdf69e06a65d6a7b851 (diff)
Remove a leftover #if 0 block.
svn path=/trunk/; revision=51888
Diffstat (limited to 'editcap.c')
-rw-r--r--editcap.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/editcap.c b/editcap.c
index b06a397c81..3a7b67e29c 100644
--- a/editcap.c
+++ b/editcap.c
@@ -966,12 +966,7 @@ main(int argc, char *argv[])
case 'C':
{
int choplen = 0, chopoff = 0;
-#if 0
- int choplen_begin = 0; /* No chop at beginning */
- int choplen_end = 0; /* No chop at end */
- int chopoff_begin_pos = 0, chopoff_begin_neg = 0;/* Offsets for chopping from beginning */
- int chopoff_end_pos = 0, chopoff_end_neg = 0; /* Offset for chopping from end */
-#endif
+
switch (sscanf(optarg, "%d:%d", &chopoff, &choplen)) {
case 1: /* only the chop length was specififed */
choplen = chopoff;