Remove unused variables
This commit is contained in:
parent
70df6b6dfa
commit
b3952e922a
2 changed files with 0 additions and 3 deletions
|
@ -22,7 +22,6 @@ static int get_users_callback(void *_, int argc, char **argv, char **col_name)
|
||||||
void get_users()
|
void get_users()
|
||||||
{
|
{
|
||||||
char *err_msg;
|
char *err_msg;
|
||||||
sqlite3_stmt *statement;
|
|
||||||
|
|
||||||
if (sqlite3_open(zen_db_path, &db) != SQLITE_OK) {
|
if (sqlite3_open(zen_db_path, &db) != SQLITE_OK) {
|
||||||
error(0, "Cannot open database: %s", sqlite3_errmsg(db));
|
error(0, "Cannot open database: %s", sqlite3_errmsg(db));
|
||||||
|
|
|
@ -530,8 +530,6 @@ void send_message()
|
||||||
keypair_t *kp_from = get_keypair(USERNAME);
|
keypair_t *kp_from = get_keypair(USERNAME);
|
||||||
uint8_t *pk_to = get_pk_from_ks(recipient); /* ed25519 */
|
uint8_t *pk_to = get_pk_from_ks(recipient); /* ed25519 */
|
||||||
|
|
||||||
int status = ZSM_STA_SUCCESS;
|
|
||||||
|
|
||||||
uint8_t *shared_key = get_sharedkey(recipient);
|
uint8_t *shared_key = get_sharedkey(recipient);
|
||||||
if (shared_key == NULL) {
|
if (shared_key == NULL) {
|
||||||
uint8_t shared_key[SHARED_KEY_SIZE];
|
uint8_t shared_key[SHARED_KEY_SIZE];
|
||||||
|
|
Loading…
Reference in a new issue