aboutsummaryrefslogtreecommitdiff
path: root/bfd/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/plugin.c')
-rw-r--r--bfd/plugin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/plugin.c b/bfd/plugin.c
index 82a87d6..f57833c 100644
--- a/bfd/plugin.c
+++ b/bfd/plugin.c
@@ -206,8 +206,7 @@ static int
try_load_plugin (const char *pname, bfd *abfd, int *has_plugin_p)
{
void *plugin_handle;
- int tv_size = 4;
- struct ld_plugin_tv tv[tv_size];
+ struct ld_plugin_tv tv[4];
int i;
ld_plugin_onload onload;
enum ld_plugin_status status;