beautify code
This commit is contained in:
parent
2c02025332
commit
026c4d93f0
@ -283,7 +283,6 @@ int verify_work_destroy(void *handle, void *work_handle) {
|
||||
|
||||
|
||||
void cache_insert(verify_container_handle_t *vch, const char *address, int result, const char *output) {
|
||||
#if ENABLE_CACHE == 1
|
||||
int mydata_size;
|
||||
mydata_t *mydata;
|
||||
|
||||
@ -298,11 +297,9 @@ void cache_insert(verify_container_handle_t *vch, const char *address, int resul
|
||||
|
||||
free(mydata);
|
||||
}
|
||||
#endif /* ENABLE_CACHE */
|
||||
}
|
||||
|
||||
int cache_lookup(verify_container_handle_t *vch, const char* address, int *result, char **output) {
|
||||
#if ENABLE_CACHE == 1
|
||||
mydata_t *mydata;
|
||||
int ret, res = -1;
|
||||
int mydata_size;
|
||||
@ -321,9 +318,6 @@ int cache_lookup(verify_container_handle_t *vch, const char* address, int *resul
|
||||
}
|
||||
|
||||
return res;
|
||||
#else
|
||||
return -1;
|
||||
#endif /* ENABLE_CACHE */
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user