diff options
| author | Tobias Brunner <tobias@strongswan.org> | 2017-05-30 19:14:22 +0200 |
|---|---|---|
| committer | Tobias Brunner <tobias@strongswan.org> | 2017-08-15 10:35:20 +0200 |
| commit | ed13c60c4f1d47d49ee5bc95fe2e362d71c1298d (patch) | |
| tree | d77cbca43874bf7a39fb4c56c815efdab914218b /src/libstrongswan/plugins | |
| parent | 1ce2721d901dcd5f9f21d5e4aea2e96eb8288c2f (diff) | |
| download | strongswan-ed13c60c4f1d47d49ee5bc95fe2e362d71c1298d.tar.bz2 strongswan-ed13c60c4f1d47d49ee5bc95fe2e362d71c1298d.tar.xz | |
plugin-loader: Move indent variables into !USE_FUZZING block
This avoids compile errors on Travis.
Diffstat (limited to 'src/libstrongswan/plugins')
| -rw-r--r-- | src/libstrongswan/plugins/plugin_loader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstrongswan/plugins/plugin_loader.c b/src/libstrongswan/plugins/plugin_loader.c index 42d443b7a..701049aad 100644 --- a/src/libstrongswan/plugins/plugin_loader.c +++ b/src/libstrongswan/plugins/plugin_loader.c @@ -698,7 +698,6 @@ static bool load_dependencies(private_plugin_loader_t *this, int level) { registered_feature_t *registered, lookup; - int indent = level * 2; int i; /* first entry is provided feature, followed by dependencies */ @@ -741,6 +740,7 @@ static bool load_dependencies(private_plugin_loader_t *this, #ifndef USE_FUZZING char *name, *provide, *depend; + int indent = level * 2; name = provided->entry->plugin->get_name(provided->entry->plugin); provide = plugin_feature_get_string(&provided->feature[0]); @@ -828,7 +828,6 @@ static void load_provided(private_plugin_loader_t *this, provided_feature_t *provided, int level) { - int indent = level * 2; if (provided->loaded || provided->failed) { @@ -837,6 +836,7 @@ static void load_provided(private_plugin_loader_t *this, #ifndef USE_FUZZING char *name, *provide; + int indent = level * 2; name = provided->entry->plugin->get_name(provided->entry->plugin); provide = plugin_feature_get_string(provided->feature); |
