Skip to content

Commit 980c2f2

Browse files
mattmundellgreenbonebot
authored andcommitted
Fix: remove double assign in agent_controller_parse_agent
1 parent 0b9f7d1 commit 980c2f2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

agent_controller/agent_controller.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@ agent_controller_parse_agent (cJSON *item)
397397
latest_agt_ver ? g_strdup (latest_agt_ver) : NULL;
398398
agent->latest_updater_version =
399399
latest_updater_ver ? g_strdup (latest_updater_ver) : NULL;
400-
agent->agent_version = agt_ver ? g_strdup (agt_ver) : NULL;
401400
agent->operating_system = os_str ? g_strdup (os_str) : NULL;
402401
agent->architecture = arch ? g_strdup (arch) : NULL;
403402
agent->update_to_latest =

0 commit comments

Comments
 (0)