File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ bool devDaxEnvSet() {
2020void *createDevDaxParams () {
2121 char *path = getenv (" UMF_TESTS_DEVDAX_PATH" );
2222 char *size = getenv (" UMF_TESTS_DEVDAX_SIZE" );
23+ if (path == nullptr || path[0 ] == 0 || size == nullptr || size[0 ] == 0 ) {
24+ return nullptr ;
25+ }
2326
2427 umf_devdax_memory_provider_params_handle_t params = NULL ;
2528 umf_result_t res =
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ bool devDaxEnvSet() {
2020void *createDevDaxParams () {
2121 char *path = getenv (" UMF_TESTS_DEVDAX_PATH" );
2222 char *size = getenv (" UMF_TESTS_DEVDAX_SIZE" );
23+ if (path == nullptr || path[0 ] == 0 || size == nullptr || size[0 ] == 0 ) {
24+ return nullptr ;
25+ }
2326
2427 umf_devdax_memory_provider_params_handle_t params = NULL ;
2528 umf_result_t res =
You can’t perform that action at this time.
0 commit comments