NPE detection
This commit is contained in:
parent
c3b29bf7e7
commit
47262f4316
@ -67,6 +67,10 @@ main (int argc, char ** argv)
|
|||||||
PERF_TALER_MINTDB_INIT_CMD_END("end"),
|
PERF_TALER_MINTDB_INIT_CMD_END("end"),
|
||||||
};
|
};
|
||||||
// Plugin init
|
// Plugin init
|
||||||
|
|
||||||
|
GNUNET_log_setup ("perf-taler-mintdb",
|
||||||
|
"WARNING",
|
||||||
|
NULL);
|
||||||
config = GNUNET_CONFIGURATION_create();
|
config = GNUNET_CONFIGURATION_create();
|
||||||
GNUNET_CONFIGURATION_load(config, "./test-mint-db-postgres.conf");
|
GNUNET_CONFIGURATION_load(config, "./test-mint-db-postgres.conf");
|
||||||
GNUNET_assert (NULL !=
|
GNUNET_assert (NULL !=
|
||||||
|
@ -455,7 +455,7 @@ interpret (struct PERF_TALER_MINTDB_interpreter_state *state)
|
|||||||
state->cmd[state->i]
|
state->cmd[state->i]
|
||||||
.details.get_deposit.label_source)]
|
.details.get_deposit.label_source)]
|
||||||
.exposed.deposit; // Get the deposit from the source
|
.exposed.deposit; // Get the deposit from the source
|
||||||
|
GNUNET_assert (NULL != deposit);
|
||||||
state->plugin->have_deposit (state->plugin->cls,
|
state->plugin->have_deposit (state->plugin->cls,
|
||||||
state->session,
|
state->session,
|
||||||
deposit);
|
deposit);
|
||||||
|
Loading…
Reference in New Issue
Block a user