diff options
author | John Stebbins <[email protected]> | 2019-02-11 07:30:23 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-02-11 07:30:23 -0700 |
commit | 9a24efca579f841bc84b345969bd4582dbee24f8 (patch) | |
tree | 64215c0a4566bd86c6f9e89e8a2e990ae0b8a192 /libhb/hb.c | |
parent | 28934d9f0ba1a0e4adc76bcf90a3762429169ea8 (diff) |
Fix return value of hb_blobal_init_no_hardware
control reaches end of non-void function
Diffstat (limited to 'libhb/hb.c')
-rw-r--r-- | libhb/hb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hb.c b/libhb/hb.c index f91800497..ace58b849 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -1645,7 +1645,7 @@ void hb_close( hb_handle_t ** _h ) int hb_global_init_no_hardware() { disable_hardware = 1; - hb_global_init(); + return hb_global_init(); } int hb_global_init() |