Commit ed2b9a24 authored by Shane Snyder's avatar Shane Snyder

less verbose warnings

parent 9ca93447
...@@ -86,11 +86,6 @@ void read_op_exec_begin(void* u) ...@@ -86,11 +86,6 @@ void read_op_exec_begin(void* u)
oid = get_oid_from_name(sdskv_ph, name_db_id, object_name); oid = get_oid_from_name(sdskv_ph, name_db_id, object_name);
vargs->oid = oid; vargs->oid = oid;
} }
if(oid == 0) {
ERROR fprintf(stderr,"oid == 0\n");
LEAVING;
return;
}
LEAVING LEAVING
} }
...@@ -104,7 +99,6 @@ void read_op_exec_stat(void* u, uint64_t* psize, time_t* pmtime, int* prval) ...@@ -104,7 +99,6 @@ void read_op_exec_stat(void* u, uint64_t* psize, time_t* pmtime, int* prval)
oid_t oid = vargs->oid; oid_t oid = vargs->oid;
if(oid == 0) { if(oid == 0) {
*prval = -1; *prval = -1;
ERROR fprintf(stderr,"oid == 0\n");
LEAVING; LEAVING;
return; return;
} }
...@@ -497,9 +491,6 @@ static oid_t get_oid_from_name( ...@@ -497,9 +491,6 @@ static oid_t get_oid_from_name(
hg_size_t oid_size = sizeof(result); hg_size_t oid_size = sizeof(result);
int ret = sdskv_get(ph, name_db_id, (const void*)name, strlen(name)+1, (void*)&result, &oid_size); int ret = sdskv_get(ph, name_db_id, (const void*)name, strlen(name)+1, (void*)&result, &oid_size);
if(ret != SDSKV_SUCCESS) result = 0; if(ret != SDSKV_SUCCESS) result = 0;
if(result == 0) {
ERROR fprintf(stderr,"oid == 0\n");
}
LEAVING; LEAVING;
return result; return result;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment