summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/packages/Python/lldbsuite/test/driver/batch_mode/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/driver/batch_mode/main.c b/lldb/packages/Python/lldbsuite/test/driver/batch_mode/main.c
index ff478a8ae46..c1f1651e75e 100644
--- a/lldb/packages/Python/lldbsuite/test/driver/batch_mode/main.c
+++ b/lldb/packages/Python/lldbsuite/test/driver/batch_mode/main.c
@@ -25,7 +25,8 @@ main (int argc, char **argv)
int do_crash = 0;
int do_wait = 0;
- for (int idx = 1; idx < argc; idx++)
+ int idx;
+ for (idx = 1; idx < argc; idx++)
{
if (strcmp(argv[idx], "CRASH") == 0)
do_crash = 1;
OpenPOWER on IntegriCloud