Skip to content
Browse files

Move the "return -1" outside the #if, so that we return -1 if the han…

…dle is not found
  • Loading branch information...
1 parent 6a4efe6 commit 79e21c80100361bb55d1ea27547ac1dd2079cc65 @petdance petdance committed Mar 30, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/platform/generic/dl.c
View
3 src/platform/generic/dl.c
@@ -189,9 +189,8 @@ Parrot_dlclose(void *handle)
rv = dlclose(handle);
return rv;
}
-#else
- return -1;
#endif
+ return -1;
}
/*

0 comments on commit 79e21c8

Please sign in to comment.
Something went wrong with that request. Please try again.