summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-05-09 15:03:14 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-05-09 15:03:14 +0200
commit8c44da9d9b758fac4eabdffbb6a1d1cbf3bc7583 (patch)
tree7a2d3517f7c1aa5adc22c7ebbccd9d13b09ab51b
parentd1a16d34e7828150403dec6da1fb6ba75c7ca1ad (diff)
trafgen: Remove unnecessary initialization of ct.reserve_size
It will be set later on depending on command line option (or panic() out) and it is initialized to 0 by a memset() before anyways. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--trafgen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/trafgen.c b/trafgen.c
index 43148b7..419988e 100644
--- a/trafgen.c
+++ b/trafgen.c
@@ -995,7 +995,6 @@ int main(int argc, char **argv)
break;
case 'S':
ptr = optarg;
- ctx.reserve_size = 0;
for (j = i = strlen(optarg); i > 0; --i) {
if (!isdigit(optarg[j - i]))