Remove unused variables

This commit is contained in:
Night Kaly 2024-09-25 11:22:29 +01:00
parent 70df6b6dfa
commit b3952e922a
Signed by: night0721
GPG key ID: 957D67B8DB7A119B
2 changed files with 0 additions and 3 deletions

View file

@ -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));

View file

@ -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];