Skip to content

Commit

Permalink
Move the "return -1" outside the #if, so that we return -1 if the han…
Browse files Browse the repository at this point in the history
…dle is not found
  • Loading branch information
petdance committed Mar 30, 2012
1 parent 6a4efe6 commit 79e21c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/platform/generic/dl.c
Expand Up @@ -189,9 +189,8 @@ Parrot_dlclose(void *handle)
rv = dlclose(handle); rv = dlclose(handle);
return rv; return rv;
} }
#else
return -1;
#endif #endif
return -1;
} }


/* /*
Expand Down

0 comments on commit 79e21c8

Please sign in to comment.