Skip to content

Commit

Permalink
Merge pull request neutrinolabs#2833 from matt335672/remove_unnecessa…
Browse files Browse the repository at this point in the history
…ry_assignments

Remove unnecessary assignments
  • Loading branch information
matt335672 authored Oct 23, 2023
2 parents da8fa05 + 8f73f5b commit ee32878
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sesman/libsesman/sesman_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,12 @@ config_read_security(int file, struct config_security *sc,
if (0 == g_strcasecmp(buf, SESMAN_CFG_SEC_USR_GROUP))
{
g_free(sc->ts_users);
sc->ts_users = NULL;
sc->ts_users = g_strdup(value);
}

if (0 == g_strcasecmp(buf, SESMAN_CFG_SEC_ADM_GROUP))
{
g_free(sc->ts_admins);
sc->ts_admins = NULL;
sc->ts_admins = g_strdup(value);
}
if (0 == g_strcasecmp(buf, SESMAN_CFG_SEC_ALWAYSGROUPCHECK))
Expand Down

0 comments on commit ee32878

Please sign in to comment.