消除tfe_utils.之外的编译警告
This commit is contained in:
@@ -136,10 +136,9 @@ struct future * future_create(const char* symbol, future_success_cb * cb_success
|
||||
strncpy(p->f.symbol,symbol,sizeof(p->f.symbol));
|
||||
|
||||
clock_gettime(CLOCK_MONOTONIC,&p->debug.create_time);
|
||||
void * no_use = NULL;
|
||||
long cb_ret=0;
|
||||
struct field_get_set_args args={.htable = g_FP_instance.name_table, .fs_handle = g_FP_instance.fs_handle};
|
||||
no_use=MESA_htable_search_cb(g_FP_instance.name_table, (const unsigned char*)symbol, strlen(symbol), field_get_set_cb, &args, &cb_ret);
|
||||
MESA_htable_search_cb(g_FP_instance.name_table, (const unsigned char*)symbol, strlen(symbol), field_get_set_cb, &args, &cb_ret);
|
||||
p->debug.fsid_latency=args.fsid_latency;
|
||||
p->debug.fsid_failed=args.fsid_failed;
|
||||
FS_operate(g_FP_instance.fs_handle,g_FP_instance.fsid_f_num, 0, FS_OP_ADD, 1);
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
|
||||
#include <string.h>
|
||||
void* tfe_stat_init(void* fs_handle)
|
||||
{
|
||||
|
||||
return NULL;
|
||||
}
|
||||
void tfe_stat_flush(void* handle)
|
||||
{
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user