diff options
| author | F. Aragon <paco@voltanet.io> | 2018-07-02 18:50:20 +0200 | 
|---|---|---|
| committer | F. Aragon <paco@voltanet.io> | 2018-07-06 01:10:15 +0200 | 
| commit | 2e1cc436791c3d2e39af9ffbd8194e9e4abc7795 (patch) | |
| tree | ff80fa30b11c02764a44f6f20781c5cdb6f07c90 /lib/module.c | |
| parent | 8d6d6b2581be7c60ab4913df1adf46098a3dc4ae (diff) | |
eigrpd lib pimd zebra: dead code (PVS-Studio)
Signed-off-by: F. Aragon <paco@voltanet.io>
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);  | 
