diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-07-19 08:50:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-19 08:50:01 -0400 |
| commit | d1a85fe40d93d31f7f0daf54912a159fcabfaddc (patch) | |
| tree | e947467da69832a04e10e24334e4fbc06285884d /lib/module.c | |
| parent | 06a5959f10f30740dcdf7d09a9c77f1504fc3328 (diff) | |
| parent | 2e1cc436791c3d2e39af9ffbd8194e9e4abc7795 (diff) | |
Merge pull request #2608 from pacovn/PVS-Studio_dead_code_1
eigrpd lib pimd zebra: dead code (PVS-Studio)
Diffstat (limited to 'lib/module.c')
| -rw-r--r-- | lib/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/module.c b/lib/module.c index 0c85364003..7d5671290b 100644 --- a/lib/module.c +++ b/lib/module.c @@ -85,7 +85,7 @@ struct frrmod_runtime *frrmod_load(const char *spec, const char *dir, char *err, *args++ = '\0'; if (!strchr(name, '/')) { - if (!handle && execname) { + if (execname) { snprintf(fullpath, sizeof(fullpath), "%s/%s_%s.so", dir, execname, name); handle = dlopen(fullpath, RTLD_NOW | RTLD_GLOBAL); |
