Skip to content

Commit

Permalink
fix linux, must return earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
planrich committed Apr 25, 2017
1 parent ca0c4e0 commit 06b6899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmp_stack.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ int vmp_native_enable(void) {
#endif

vmp_native_traces_enabled = 1;
return 1;

#ifdef VMPROF_LINUX
bail_out:
Expand All @@ -549,7 +550,6 @@ int vmp_native_enable(void) {
vmp_native_traces_enabled = 0;
return 0;
#endif
return 1;
}

void vmp_native_disable(void) {
Expand Down

0 comments on commit 06b6899

Please sign in to comment.