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() {
20
20
void *createDevDaxParams () {
21
21
char *path = getenv (" UMF_TESTS_DEVDAX_PATH" );
22
22
char *size = getenv (" UMF_TESTS_DEVDAX_SIZE" );
23
+ if (path == nullptr || path[0 ] == 0 || size == nullptr || size[0 ] == 0 ) {
24
+ return nullptr ;
25
+ }
23
26
24
27
umf_devdax_memory_provider_params_handle_t params = NULL ;
25
28
umf_result_t res =
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ bool devDaxEnvSet() {
20
20
void *createDevDaxParams () {
21
21
char *path = getenv (" UMF_TESTS_DEVDAX_PATH" );
22
22
char *size = getenv (" UMF_TESTS_DEVDAX_SIZE" );
23
+ if (path == nullptr || path[0 ] == 0 || size == nullptr || size[0 ] == 0 ) {
24
+ return nullptr ;
25
+ }
23
26
24
27
umf_devdax_memory_provider_params_handle_t params = NULL ;
25
28
umf_result_t res =
You can’t perform that action at this time.
0 commit comments