Skip to content

Commit f3bed3b

Browse files
committed
test with cppcheck error
1 parent bfa80e8 commit f3bed3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cvmassistants/secretprovider/secret-provider-agent/src/secret_provider_agent.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,10 @@ char *get_secret_from_sbs_through_rats_tls(
229229

230230
int main(int argc, char **argv) {
231231
setvbuf(stdout, NULL, _IONBF, 0);
232-
char *secret = "";
232+
const char *secret = "";
233233
LOG_INFO("Try to get key from SBS");
234234

235-
const char *secret_save_path = NULL;
235+
char *secret_save_path = NULL;
236236
const char *sbs_endpoint = NULL;
237237
char ip_buf[INET_ADDRSTRLEN];
238238
const char *str_port = NULL;

0 commit comments

Comments
 (0)